October 2002
Beginner
816 pages
23h 32m
English
| A1: | The following custom tag types can be developed for a JSP: simple custom tag; simple custom tag with attributes, Simple Custom Tag with Attributes—Defining Scripting Variables, Custom Tag with Body—Noninteractive and Interactive tags, and Cooperating Custom Tags. |
| A2: | For a simple custom tag, the doStartTag(), doEndTag(), and the release() methods need to be overridden. Also, the doEndTag() method must return the constant EVAL_PAGE to continue processing of the JSP page. |
| A3: | For a simple custom tag with attributes, the doStartTag(), doEndTag(), setAttrib1...N(), getAttrib1...N(), and release() methods need to be overridden. Also, the doEndTag() method must return the constant EVAL_PAGE to continue processing of the JSP page. The same ... |
Read now
Unlock full access