Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag library ...

 
Mandy Smith
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class which extends BodyTagSupport and have my implementation done in doAfterBody() method. My question is i am catching some user defined exceptions in this method and i wan't to ignore the rest of the page, so i am having at the end of my catch block a statement like this "return (SKIP_BODY)" but its not Skipping Body content, its somehow going further going to evaluate which is leading to some SQLException. I don't want this to happen. I wan't to stop this execution of the rest of the page. I am not sure what else to try. Could anyone please help me to solve this.
Greatly appreciate your help!
Thank you.
 
Bill Siggelkow
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using JSP 1.2 you might look into implementing the TryCatchFinally interface
 
Mandy Smith
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Weblogic5.1 server. I am not sure whether this version uses JSP 1.2. So is there any way around this to make it work. Thanks.
Any further help would be greatly appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic