Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Response not redirecting to errorPage.jsp which is declared in web.xml  RSS feed

 
murali jackson
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to understand the redirection to errorpages set in web.xml.
I have written a sample program where i intentionally throw exception to see if my error page is displayed or not.
Its not getting displayed instead i get a standard page not found error.
Please advise .

My XML, Directory Structure and Servlet Code is below






Directory Structure

Select --- project Name
|
|
WebContent
|
|
errorPage.jsp






 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!