A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Routing servlet exceptions to a particular jsp page?
Joined: Dec 28, 2004
Mar 27, 2006 03:07:00
In my MVC based application, i want to route my exceptions raised in my model classes to a particular
I want to generalize these exceptions ie i want to make a general class to which i can route my exception generated & from that class i want to display that jsp error page displaying the problem??
So how to do that??
[ March 27, 2006: Message edited by: Bear Bibeault ]
The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Joined: Dec 11, 2004
Mar 27, 2006 03:53:00
Download a copy of the
spec, if you haven't already (link in my signagure) and have a look at section SRV.9.9.2.
You can get there quickly by searching for "error-page".
It answers your question pretty well.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Routing servlet exceptions to a particular jsp page?
use of <bean:write> and <bean:message> ???
Error Handling and the Response Object
Tiles 2.x.x Question
Log4j in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015