my dog learned polymorphism*
The moose likes JSP and the fly likes Classic Tag Handler problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Classic Tag Handler problem" Watch "Classic Tag Handler problem" New topic

Classic Tag Handler problem

Simran Dass
Ranch Hand

Joined: Jan 09, 2010
Posts: 183


I made a custom tag handler. In the doStartTag() method I gave SKIP_BODY and in the doEndTag() I gave SKIP_PAGE -- so the body of my tag should not be evaluated and the contents of the jsp page after the tag should not be displayed. But this is not happening.

The Custom tag handler :--

THe taglib : --

<?xml version="1.0" encoding="ISO-8859-1" ?>

Th JSP : --

According to me the browser should only display :


But the browser is displaying :

So........ THis is the body inside the tag . Page after the tag

Cannot understand why. Please help.
Consider Paul's rocket mass heater.
subject: Classic Tag Handler problem
Similar Threads
Classic Tag Handler problem
Unable to have tagdependent as body content for a classic tag
Unable to use El in custom tags
Unable to initialize TldLocationsCache: XML parsing error on file
Unable to load tag handler class