Saturday, October 13th, 2007
EJB & JSP: Java On The Edge, Unlimited Edition by Lou Marco ISBN: 0764548026 Your Guide to Cutting-Edge J2EE Programming Techniques. Interfaces and Classes Added to JSP Release 1.2 The up-and-coming JSP release 1.2 includes some additional interfaces and classes to the javax.servlet.jsp.tagext package. Table A-25 provides a quick look at what s new with JSP 1.2 Table A-25: New Components of the javax.servlet.jsp.tagext Package (JSP 1.2) Component Type Description IterationTag Interface Extends the Tag interface by providing one additional method that controls the reevaluation of its body. TryCatchFinally Interface Another interface of a tag- handler class that wants more hooks for managing resources. PageData Abstract Class Objects of class PageData are generated by the JSP translator and passed to a Tag library validator. TagLibraryValidator Abstract Class Translation-time validator class for a JSP page. TagVariableInfo Class Contains information about tag variables coded in the tld. The IterationTag Interface The IterationTag interface extends Tag by defining one additional method that controls the reevaluation of its body. A tag handler that implements IterationTag is treated as one that implements Tag regarding the doStartTag and doEndTag methods. IterationTag provides a new method: doAfterBody with the following signature: int doAfterBody() The IterationTag interface defines an additional constant that requests the evaluation of the tag body, as follows: public static final int EVAL_BODY_AGAIN
We feature a web hosting shopping cart and live support solution. Just try our web hosting shopping cartwhich provides a secure way of obtaining payments through your website.