| Author |
welcome-file-list problem
|
Bruno Santos
Greenhorn
Joined: Nov 11, 2004
Posts: 7
|
|
Hello all! I'm having a problem with tomcat configuration for default page redirect. When receiving a request to http://localhost:8080/ I want to be redirected to http://localhost:8080/XXX/Logon.do If the context of my web app is "/" than this works: <welcome-file-list> <welcome-file>Logon.do</welcome-file> </welcome-file-list> But if the context of my web app is "/XXX" than this doesn't work: <welcome-file-list> <welcome-file>XXX/Logon.do</welcome-file> </welcome-file-list> Once I'm using jboss, this codes are inserted into <jboss_home>/server/default/deploy/jbossweb-tomcat50.sar/web.xml wich corresponds to <tomcat_home>/conf/web.xml in a standalone tomcat.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
|
What happens if you leave out the xxx/ leaving Logon.do
|
 |
Bruno Santos
Greenhorn
Joined: Nov 11, 2004
Posts: 7
|
|
|
than it doesnt work
|
 |
 |
|
|
subject: welcome-file-list problem
|
|
|