Section 14.10. What s Next?

   

14.10 What's Next ?

The next chapter will demonstrate how to extend the power of JSP using custom actions (JSP jargon for custom tags). Custom actions are perhaps more important in JSP than they are in ColdFusion, because JSP has fewer core tags.

When JSP was first introduced, there was a proliferation of JSP tags loaded with scriptlets. This is not good design, because it does not encourage separation of the logic and presentation layers . Beans made huge strides toward this end, but they still often require scriptlets to iterate over their results. Custom tags can make working with any kind of data or return value easier for Web designers to deal with. They help the portability of your code between applications and allow you to share your work easily with others.

Like beans, custom actions are essentially special Java classes. That means the primary challenge facing custom action developers is getting their tags deployed. They require some setup on the server, and we'll cover that, write some example tags, and have a good time.


   
Top


Java for ColdFusion Developers
Java for ColdFusion Developers
ISBN: 0130461806
EAN: 2147483647
Year: 2005
Pages: 206
Authors: Eben Hewitt

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