Can I hide tomcat version? If i have exception in my apllication then tomcat shows the version. How to hide it?
thanks for any reply
posted 10 years ago
I would be a bit concerned that you are trying to implement security through obscurity but the key is to have your web application set up correctly. In the event of an error your web app needs to have the web.xml set up. For example:
This tells Tomcat to redirect to /500.html in the event of a 500 error (the most common error when you have an issue with your JSP).
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.