Hi!!
I have an web application in which the JSPs confirm to JSP 0.91 spec.
In all the JSPs we are using the method tag to specify a method(say method
"x") of the parent class which all the JSps are extending.Needless to say
the translated JSPs don't have a service method.Consequently the service
method of the parent class is called inside which we call the method
x.Before and after calling method x from inside the service method of parent
class,we do  some processing.The parent class also takes care of exception
handling.

Now the problem:
I want to upgrade the JSPs to confirm to 1.0 specs in which the method tag
has been removed.
I have figured out  a way to ensure that all the pre an post processing
which was being done in the service method of the parent class while calling
method x is still performed.The problem is how do i take care of the
exceptions thrown here(earlier taken care by the parent class) in absence of
the method tag(since now "throw" exception won't work because the control
will not originate from within the parent class).

Also are there any tools available which do the cincerned tag changes in
moving from JSP-0.91 to 1.0 specifications.

Any help in this regard is highly appreciated.

Regards
Sanjeev


Sanjeev Bajpai
Software Engineer
Mail [EMAIL PROTECTED]
Phone 8520261 Ext.2225
Infosys Technologies Ltd.
Why can't we be paid for being ourselves. . . . . .
That way we will deserve it also.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to