This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error page mechanism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error page mechanism" Watch "Error page mechanism" New topic
Author

Error page mechanism

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
Could you help me with this sentence??

from Servlet soec (SRV.9.9.3)

"Error page mechanism operates on the original unwrapper/unfiltered request and response objects created by the container. The mechanism described in Section SRV.6.2.5, *** "Filters and RequestDispatcher" may be used to specify filters that are applied before an error page mechanism." ***

Tks.


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
no one?
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

I think this is related to <dispatcher>ERROR</dispatcher> in the <servlet-mapping> element in DD. If you configure filter using above, the filter will invoke before the error page. In this filter you can forward the request to any of the page using RequestDispatcher.

Hope it help ypu

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
Hum right, it makes sense.

Tks Narendra.
 
Don't get me started about those stupid light bulbs.
 
subject: Error page mechanism
 
Similar Threads
filter question
redirect to error page
Doubt with web.xml
Servlets 2.4 Specification Questions
Response Header