aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply locked New topic
Author

Classic Tag Handler problem

Simran Dass
Ranch Hand

Joined: Jan 09, 2010
Posts: 183

Hi,

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



Th JSP : --





According to me the browser should only display --

So........


But the browser is displaying :

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

Cannot understand why. Please help.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Do not duplicate threads. Continue there.


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Classic Tag Handler problem