Tomcat Related Problem
Hi all,
- i m trying to change the banner string in tomcat (i.e. whenever someone telnets to the http port the fake banner comes up), how to do that as i tried to search in the source code of apache tomcat (5.0.28) but was unable to find that.
- Secondly i was trying to generate customized error pages i read lot of info from the web was also unable to do so. Following is the web.xml of the directory of webapps.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"there was s URL here">
<web-app>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/index.html</location>
</error-page>
</web-app>
Thanks........
|