JSTL Early Access | Beware API and Tags may/will change | support development comments to JSR052 EG |
JSTL Examples Introduction EL Support Conditionals Iterators Import I18N & Formatting XML EcmaScript Misc |
We set the value of an application scope attribute from the <set> tag body content. This application scope variable is then used in a second JSP page.
In order for JSTL tags to collaborate with custom tags that only accept rtexprvalues, the <declare> tag must be used to create a scripting variable. In this example, the page attribute created by the <forEach> tag is used in the <declare> tag to export a scripting variable that is then used in custom tag <customerFmt>.
JSTL Early Access | Beware API and Tags may/will change | support development comments to JSR052 EG |