and i have a welcome file for that webapplication as login.jsp
but i need to redirect to my application just by using http://localhost:8080/ .as soon as the user enters this i want to redirect him to login.jsp
How can i do this ??
posted 11 years ago
The default Web site for tomcat is $CATALINA_HOME/webapps/ROOT/.
Approach 1: (Redirect to your web site from the default web site) In the file $CATALINA_HOME/conf/server.xml, you will find the configuration for the root context. This is how the entry looks, after installing tomcat.