Thanks for the help, but it does not work. If I did not put the / in the
context path, I'm unable my jsp in my /app directory. The context is not
good.....

> -----Original Message-----
> From: Darrell Porter [mailto:[EMAIL PROTECTED]]
> Sent: 2 mars, 2001 12:25
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Help with welcome-file
> 
> 
> Try making the following change:
> 
>       <Context path="app" docBase="/usr/home/web/app"
> crossContext="false" debug="0" reloadable="true"/>
> 
> Note the removal of the '/' before 'app' in the context path.
> 
> Hope this helps.
> 
> _____________________________________________
> Darrell Porter
> Operations Manager
> 415.355.9990 x290
> [EMAIL PROTECTED]
> 
> WiseConnect, Inc. <http://www.wiseconnect.com/>
> "Powering the people behind stores"
> 
> Visit our GlobalShop booth #4473 in i3
> 
> Go wireless with the WiseConnect Workspace & Palm!
> Enter to win a Palm VII by selecting:
> Enter to Win! <http://www.wiseconnect.com/palmVII.html>
> 
> 
> -----Original Message-----
> From: Thierry Leveque [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 02, 2001 6:38 AM
> To: '[EMAIL PROTECTED]'
> Subject: Help with welcome-file
> 
> 
> Hi
> 
> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to