Service 404 via JSPService 404 via JSP

In order to handle error 404 (page not found error) using the JSP file should be in web.xml add the following lines:

 <error-page> <error-code> 404 </ error-code> <Location> / error.jsp </ location> </ error-page>

In the example in case of error 404 is a file called “error.jsp”.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • MySpace
  • PDF

Related Posts

  1. No comments yet.

  1. No trackbacks yet.

*

Founder:

pit 2013 darmowy program Apla za free do dekalaracji rocznych PIT- formularze 2013!Laserjet HP tusze tonery do drukarki, oryginalne zamienniki HP Laserjet P4515 HP Laserjet - ceny tusz toner do drukarek HP, oryginalny, zamiennikRapidgator