O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1: What are three features of custom tags that I can use to extend my Web pages?
A1: Custom tags can access objects (such as HTTP request parameters and the page context) of the JSP page. They can cooperate and share information with each other and can be used in a hierarchical manner to implement programmable concepts, such as iteration.
Q2:What is the name of the Java package that supports the development of custom tags, and what are the two classes that are normally extended by custom tags?
A2: The custom tag package is javax.servlet.jsp.tagext, and the two super classes used for most tags are TagSupport and BodyTagSupport.
Q3:What are the five methods I can override when extending BodyTagSupport, including parameters and return type? In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required