RE: bean:define vs c:set

2004-07-29 Thread Paul McCulloch
bean:define creates a scoped attribute AND a scripting variable, whereas c:set just created the scoped attribute. In your example you are making use of the scripting variable feature (as the data is already available as a scoped attribute). But, with JSP2, all tags magically become EL aware (I

Re: bean:define vs c:set

2004-07-29 Thread Craig McClanahan
You are correct that c:set does not create a scripting variable, so you can't use the specified identifier in a scriptlet. The question, though, is why are you still using a scriptlet expression? Why not use an EL expression instead? pg:pager maxPageItems=${pageItems}/ or, to avoid needing

RE: bean:define vs c:set

2004-07-29 Thread Kris Barnhoorn
[mailto:[EMAIL PROTECTED] Verzonden: donderdag 29 juli 2004 18:25 Aan: Struts Users Mailing List Onderwerp: Re: bean:define vs c:set You are correct that c:set does not create a scripting variable, so you can't use the specified identifier in a scriptlet. The question, though, is why are you still