Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

On a 404 request, redirect to a servlet

807567Jan 30 2008 — edited Feb 1 2008
I'm trying to handle my extensions with the use of a servlet. I'm running the Sun Java System Web Server and am having problems redirecting the 404 to invoke the servlet.

In the obj.conf, I've included this:
Error code="404" fn="redirect" reason="Not Found" url="/servlet/TestServlet"

The result is, I still get a "Not Found" page returned, and the logs seem to indicate they're still looking for the servlet in the doc directory.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 29 2008
Added on Jan 30 2008
11 comments
16,577 views