I have web application which works on Tomcat 4. When I tried to run it on Tomcat 6 the welcome page doesn't load properly.
On tomcat 4, when the you access the url (http://localhost:8080/application) it redirects to the login page located at "tomcat/webapps/applicaiton/jsp/login.jsp". The login.jsp calls a css file stored at "tomcat/webapps/applicaiton/jsp/main.css" which has the page banner and images which are used for buttons information.
However in tomcat 6 when i go http://localhost:8080/application the login page loads but it doesn't seem to call the css. As a result the page banners and images are missing. Just the labels and text boxes. But, when the direct url to login.jsp is accessed then page loads properly (i.e. calls the css as well).
In the web.xml the welcome-file-list tag is used to call the login.jsp when someone visits the url.
Question
rustix
I have web application which works on Tomcat 4. When I tried to run it on Tomcat 6 the welcome page doesn't load properly.
On tomcat 4, when the you access the url (http://localhost:8080/application) it redirects to the login page located at "tomcat/webapps/applicaiton/jsp/login.jsp". The login.jsp calls a css file stored at "tomcat/webapps/applicaiton/jsp/main.css" which has the page banner and images which are used for buttons information.
However in tomcat 6 when i go http://localhost:8080/application the login page loads but it doesn't seem to call the css. As a result the page banners and images are missing. Just the labels and text boxes. But, when the direct url to login.jsp is accessed then page loads properly (i.e. calls the css as well).
In the web.xml the welcome-file-list tag is used to call the login.jsp when someone visits the url.
could anyone suggest why this is happening?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts