• Post Reply Bookmark Topic Watch Topic
  • New Topic

own "error report" page in Tomcat  RSS feed

 
dar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all.
I use tomcat 4.0.3 and I try JSP/Servlet.
When I invoke a page, which doesn't exist I got
"default error report page", what contens this message:
"HTTP Status 404-FILENAME...(/FILENAME) is not available."
For example:
I don't have file "nopage.jsp".
So, when I write in browser
"http://localhost/nopage.jsp" then I got message
"HTTP Status 404-nopage.jsp..(/nopage.jsp)is not available."
How can I do my own "error report" page?
I want redirect to another file/page when requested file doesn't exist.
Thank U for your advice.
[ July 29, 2002: Message edited by: dajac chison ]
 
Debbie Argulkar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Here is a link that will answer your question.
Custom 404 messages
Good luck!
 
dar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank U for answer.
But at link URL=http://www.plinko.net/404/custom.asp
isn't article(description) for the tomcat.
I have Windows and standalone tomcat (no apache).
good luck!
Originally posted by Debbie Argulkar:
HI,
Here is a link that will answer your question.
Custom 404 messages
Good luck!

[ July 30, 2002: Message edited by: dajac chison ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!