Day 6

Quiz

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 ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.