This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes doEndTag() executed before doAfterBody() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "doEndTag() executed before doAfterBody()" Watch "doEndTag() executed before doAfterBody()" New topic
Author

doEndTag() executed before doAfterBody()

Lucy Koh
Greenhorn

Joined: Oct 29, 2010
Posts: 1
Hi everyone.

I ran the program in the below but the result was different from what I expected.





Expected Result
in doStartTag()
Spiderman
Saved!
Amelie
in doEndTag()

Actual Result
in doStartTag()
in doEndTag()
Spiderman
Saved!
Amelie


Please let me know the reason if you know it.
Thank you.




 
It is sorta covered in the JavaRanch Style Guide.
 
subject: doEndTag() executed before doAfterBody()
 
Similar Threads
Classic tag error
Classic Tag Handler
Classic Tag Handler
Is returning invalid integer from doStartTag() is equivalent to returning EVAL_BODY_INCLUDE ?
doStartTag()