Arun.V.Somasundaram
Arun.V.Somasundaram
Arun.V.Somasundaram
Arun.V.Somasundaram
Arun.V.Somasundaram
Arun.V.Somasundaram
Originally posted by Arun Somasundaram:
One thing Ben.I am not handling the errors through attributes provided by the page directive.I am handling the error through web.xml . Here web.xml handles the error and then it forwards the request to file.jsp . So I think there is no need to see the isErrorpage attribute of the page directive.
There are two ways to handle exceptions in webapplications
1.) micro managing exceptions(exceptions handled on individual basis)
2.) macro managing exceptions(exceptions handled on application wide basis)
In micro managing exceptions the exceptions are handled on an individual basis using try catch finally statements.There it is necessary to use errorpage and isErrorpage attributes.
When it comes to macro managing exceptions the exceptions are caught on an application wide basis using web.xml.I follwed this way to handle exceptions.So I think there is no need to worry about errorPage and isErrorpage attributes.
Arun.V.Somasundaram
Arun.V.Somasundaram
NO
[My Blog]
All roads lead to JavaRanch
Arun.V.Somasundaram
[My Blog]
All roads lead to JavaRanch
Arun.V.Somasundaram
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|