• Post Reply Bookmark Topic Watch Topic
  • New Topic

what upsets the getJspBody().invoke(null) ?

 
Shraddha Jain
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when will getJspBody().invoke(null) within teh doTag() method of a tag handler throw a JspException?
i am using nested custom tags in my jsp. i am using tag files which my tomcat converts into a tagHandler. i get this JspException for <jsp oBody/>.
what cud be the problem?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JspException is a wrapper exception that wraps another exception know as the "root cause". Look at the entire stack trace; the root cause should also be reported.
 
Shraddha Jain
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there anyy way i can handle exceptions in a tag file? i understand that that whatever goes into the tag files , goes into the out.print() of the doTag method of teh tagHandler tomcat is going to create for this tag file,the stack trace is only pointing @ the invoke method in the jsp file that has the my custom tags. the log files dont give any clue.

my jsp file looks like this:

<myTag:Tabs>
<myTag:tab>
//some body
</myTag:tab>

<myTag:tab>
//some body
</myTag:tab>

<myTag:tab>
//some body
</myTag:tab>
</myTag:Tabs>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!