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
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
[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
3 matches
Mail list logo