Servlets outside install_dir/webapps/ROOT/WEB-INF/classes
From: nisant (nisant.mail_at_tin.it)
Date: 03/07/04
- Next message: lonelyplanet999: "Mixed int & long types operation"
- Previous message: jdm: "Re: java.sun.com http server down"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Mar 2004 10:20:25 -0800
Hi,
I'm using Apache Tomcat/4.1.29 under WinXP.
Is it possible to store and run servlets outside the default
directory?
I configured an application via TomCat Manager with the following
informations:
Context Path: myApp
WAR or Directory URL: file:C:/myApp
In C:/myApp I put a directory servlets containing myServlet.class.
In C:/myApp I also put index.html with:
<a href=servlets/myServlet>myServlet</a>
Entering http://localhost:8080/myApp I see index.html, then I click
myServlet and TomCat returns me this error message:
type: Status report
message: /myApp/servlets/myServlet
description The requested resource (/myApp/servlets/myServlet) is not
available.
Can you help me?
Thanks.
- Next message: lonelyplanet999: "Mixed int & long types operation"
- Previous message: jdm: "Re: java.sun.com http server down"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|