Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JSP method tag problem


  • From: SANJEEVB@xxxxxxxx (SANJEEVB)
  • Subject: JSP method tag problem
  • Date: Thu, 28 Dec 2000 20:04:45 +0530

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).

Any help is highly appreciated

Regards
Sanjeev

---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx