I did look at those earlier, unfortunately I could not figure out how can I pass in a method call with a paramater passed to it, as the expression for comparison. The tags allow bean properties, cookie , request parameter etc... Could you tell me how can I use a method call with a parameter that I pass from within the JSP for evaluating the result. Thx A -----Original Message----- From: Niall Pemberton To: Struts Users Mailing List Sent: 2/18/2004 1:07 PM Subject: Re: Conditional tag for method results Yo can either use the Struts "logic" tags, or the standard tag library (JSTL) JSTL: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html Struts Logic Tags: http://jakarta.apache.org/struts/userGuide/struts-logic.html Niall ----- Original Message ----- From: "Avinash Gangadharan" To: Sent: Wednesday, February 18, 2004 8:43 PM Subject: Conditional tag for method results > Hello All, > I'm fairly new to the world of struts so pardon me if this has already > been asked. > > Could someone tell me if I can replace the following with a much better > looking tag library usage: > > <% if( foo.method( "xyz" ) ) { %> > > Submit > > % } %> > > You can assume that foo exists in the scope of the page. > > Thanks and Regards > Avinash > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org