File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Tag library ..." Watch "Tag library ..." New topic
Author

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.
 
wood burning stoves
 
subject: Tag library ...
 
Similar Threads
Struts2 newB: some simple questions
How can I drag a JComponent?
SQL statements
ResultSet check...
Servlet failed with IOException