Conclusions


The Struts HTML library provides functionality in Struts for generating HTML elements, coordinating form processing, and, in general, linking the JSP pages (View components ) into the rest of the Struts framework.

This chapter isn't meant to be a reference for these tags. If you want a listing of every valid option for these please refer to the Struts Web site or to the documentation that came with the version of Struts you're using.

It's possible to minimize the use of embedded Java scriptlets in your JSP pages by using the Struts HTML tags (and other Struts tags in general). Although it might be possible to completely eliminate Java scriptlets from your pages using a combination of Struts tags and JSP custom tags, we don't advise doing so. This can add to development time and make tasks harder than they need to be, without always adding a great deal of value for the effort. We recommend using Struts tags to minimize the use of scriptlets, but we recognize that at times using scriptlets is the best solution.

This chapter provided sample code and instructions for using a large number of the Struts HTML tags. Our intent is for you to cut, paste, and reuse the code samples we provided in your own applications.



Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net