Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Classic Tag Handler problem

 
Simran Dass
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Report post to moderator

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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Do not duplicate threads. Continue there.
 
    Bookmark Topic Watch Topic
  • New Topic