Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Implementing the TryCatchFinally interface correctly

Reply
Thread Tools

Implementing the TryCatchFinally interface correctly

 
 
Manavendra Gupta
Guest
Posts: n/a
 
      03-07-2004
I have a library of custom tags which assist in page
generation/presentation.

Due to inexperience, at a rather late stage I realised I need a tag that
would wrap the entire page in a try/catch block and at the very least,
display a readable message about the failure when some of the content may
already have been written.

The TryCatchFinally interface has been implemented, but I have a problem:
the generated java code (from the JSP) indicates the "wrapper" tag is really
not a wrapper - the "_jspService" invokes the tag's doStartTag(), but the
rest of the page's code is NOT invoked from the doStartTag() but the
_jspService() method.

What would I need to do to tie in the rest of the JSP page with this,
so-assumed wrapper tag?

Thanks
Manav


 
Reply With Quote
 
 
 
 
Manavendra Gupta
Guest
Posts: n/a
 
      03-07-2004
resolved... broken tag hierarchy :s


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using or TryCatchFinally K Viltersten ASP .Net 2 10-24-2009 08:17 PM
Implementing an existing interface golem Java 13 02-17-2006 12:02 PM
Implementing Interface Gomathi ASP .Net 1 11-17-2005 03:09 PM
Trouble implementing an interface, strange compiler error Robert Maas, see http://tinyurl.com/uh3t Java 4 05-15-2005 09:05 PM
Implementing rate-limit at vlan interface for Cat 6509 Mr_Magoo Cisco 6 05-08-2004 03:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57