aspose file tools*
The moose likes JSP and the fly likes Tag library ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Tag library ..." Watch "Tag library ..." New topic

Tag library ...

Mandy Smith
Ranch Hand

Joined: Jun 26, 2001
Posts: 62
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

Joined: Jun 27, 2001
Posts: 57
If you are using JSP 1.2 you might look into implementing the TryCatchFinally interface

Bill Siggelkow
Jade Cove Solutions
Mandy Smith
Ranch Hand

Joined: Jun 26, 2001
Posts: 62
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.
I agree. Here's the link:
subject: Tag library ...
Similar Threads
SQL statements
How can I drag a JComponent?
Struts2 newB: some simple questions
ResultSet check...
Servlet failed with IOException