First, please ask such things on struts users-list. Second, using <%= pageCount %> as attribute for a jsp tag is'nt a scriptlet, it is a "runtime experssion". This is not considered beeing a bad design (you cannot split java code in multiple blocs as you can with scriptlets)
You can use Expression Language with struts-el tags if you consider it better (and if you use a modern servlet container). Nico. ----- Original Message ----- From: "Baljinder Singh" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Monday, November 24, 2003 12:17 PM Subject: RE: variable value in logic notEqual tag > In continuation to my previous message, I want to do this without using > scriptlets. > > Not something like following: > > <bean:define id="pageCount" name="countryAF" property="pageCount" /> > <logic:notEqual name="countryAF" property="pageNo" value="<%=pageCount%>"> > .. > </logic:notEqual> > > -----Original Message----- > From: Baljinder Singh > [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 4:34 PM > To: Struts Developers List > Subject: variable value in logic notEqual tag > > > Hi All, > > I want to compare the variable in notEqual tag to value of another variable > instead of comparing it to a fixed value. How can I do that ? > > Thanks > BS > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]