aspose file tools
The moose likes JSP and the fly likes Custom 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Custom 404" Watch "Custom 404" New topic
Author

Custom 404

Lara Martin
Greenhorn

Joined: Feb 06, 2002
Posts: 23
Friends,
How do I create custom 404 error pages in weblogic 6.1?
Thanks
Lawrence
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
Lara thanks for hanging around but would you kindly read our naming rules and re-register?
To do custom error page handling use the <error-page> tag in web.xml
<error-page>
<error-code>404</error-code>
<location>/Whatever.jsp</location>
</error-page>
William Chang
Greenhorn

Joined: Aug 06, 2003
Posts: 4
This forum may be very similar as Topic: How to customize the 404 error page for Tomcat .
In your example, for your custom 404 error page "/whatever.jsp", does know why the 404 error happens --- the oringnal client's request? I may want to rediect the different requests to different right URL on the purpose. Thanks.
 
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: Custom 404
 
Similar Threads
own "error report" page in Tomcat
Custom 404 pages in WebLogic6.1
Handling response.redirect errors in JSP page
how to forward to another page, if location.href page is not found
Error pages