You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thierry Leveque <tl...@wysdom.com> on 2001/03/05 14:58:51 UTC
Weird problem with Tomcat web.xml configuration
Hi
It's not the first time I ask it here, put I'm still unable to resolve this
problem:
We have a working application under Tomcat 3.2.
To call our main jsp, we have to call the full URL:
www.abcd.com/app/index.jsp
If we try:
www.abcd.com/app
We've got an error from Tomcat:
2001-03-02 09:31:03 - Ctx( ): 404 R( + //app/index.jsp + null) JSP
file not found
What is this double / ?? Where does it come from??
I think my web.xml file is ok:
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
</welcome-file-list>
web.xml IS in my WEB-INF directory.
And my context too (in server.xml):
<Context path="/app" docBase="/usr/home/web/app"
crossContext="false" debug="0" reloadable="true"/>
What is wrong?
And if I delete my file index.jsp from my directory, and try the URL
www.abcd.com/app, Tomcat return me the list of the file in my docBase
context directory as it should....Weird!
Tomcat 3.2 under Solaris 7 on a Sun 450.
Thierry Leveque
Wysdom Inc.
cell: 514-575-6466
tel: 514-395-6060 poste 138
fax: 514-395-6080