I would think all you need to do is change the attribute inside the
error-code tag.

Thanks,
Michael

-----Original Message-----
From: Amit r [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 10:37 AM
To: JRun-Talk
Subject: Setting Error Page in Web.xml


How can i set generic Error page in web.xml file. 404 file not found error
can be trapped by 

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

But what about other Errors???

/Amit R.

 



---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better

______________________________________________________________________
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to