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!

JSP as custom 404 Not Found page?

807567Oct 18 2004 — edited Oct 28 2004
I'd like to display the requested URL on the 404 page. The intention is to be able to say to the user "You're looking for page http://webserv.com/foo/bar.jsp. I can't find that page, please verify the URL" (or something similar, but better written...)

So I made the page and entered the absolute filesystem path in the Class Manager > Content Mgmt > Error Responses > Error Code: Not Found field. After I restarted the server and tried it out, I found that the page is handed to the browser without processing the JSP (i.e. the uncompiled JSP source). Click the CGI checkbox doesn't work either. I don't see anything in the docs or elsewhere in this forum that helps.

What am I missing? Thanks in advance and sorry for asking what it probably a really dumb question.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2004
Added on Oct 18 2004
5 comments
589 views