Using Custom Objects
As a page author, you might need to use custom converters, validators, or components packaged with the application on your JSP pages.
A custom converter is applied to a component either by using the component tag's converter attribute or by nesting a converter tag inside the component's tag.
A custom validator is applied to a component by nesting either a validator tag or the validator's custom tag inside the component's tag.
To use a custom component, you use the custom tag associated with the component.
As explained in Setting Up a Page (page 676), you must ensure that the TLD that defines the custom tags is packaged in the application. TLD files are stored in the WEB-INF directory or subdirectory of the WAR file or in ...
Get The J2EE™ Tutorial Second Edition 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.