aspose file tools
The moose likes JSP and the fly likes How To Handle Error 404 or Error 500 with JSP Code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "How To Handle Error 404 or Error 500 with JSP Code" Watch "How To Handle Error 404 or Error 500 with JSP Code" New topic
Author

How To Handle Error 404 or Error 500 with JSP Code

deepesh shah
Greenhorn

Joined: Feb 04, 2002
Posts: 15
hi all,
I m facing a problem while error handling for it can't catch error 404 or error 500, any help pls,


deep
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
"deepika"
Your name deosn't agree with the javaranch guidelines. Please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
Also, What app server are you using. Are you using JSP Spec.1.2 or Servlet Spec.2.3 versions?
This is important for answering your qstn ie; after you change your name.
- satya


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
deepesh shah
Greenhorn

Joined: Feb 04, 2002
Posts: 15
Thanks satya for response,and also for updation of name,
well,i m using websphere 4.01 which is JSP1.2 complient.i have come to know that we can configure something with server, but all i wanna know is whethere is it possible for using the same via JSP code also what if i wanna add certain customized message to it, that has to be displayed with Error 404 page.

with regards,
deep.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How To Handle Error 404 or Error 500 with JSP Code
 
Similar Threads
Custom Error Page Filter
Init method of Servlet
using error-page tag in Deployment Descriptor
Server error codes other than 404 and 500
9i, cannot download from Server