On Wed, 22 May 2002, Hua Sheng wrote:

> Hi,All:
>
>     in the conf/server.xml,
>
> <!-- Tomcat Examples Context -->
> after above line,
> I change
> <Context path="/examples" docBase="examples" debug="0"
> into
> <Context path="/webapp1" docBase="webapp1" debug="0"
>
> in the *html file,
> I change
> ACTION="http://localhost:8090/examples/servlet/HelloHua";
> into
> ACTION="http://localhost:8090/webapp1/servlet/HelloHua";
>
> but it does not work. may be somewher I need modify ?
>
> thanks in advance

Is there a HelloHua servlet in the directory under
<path-to-tomcat>/webapps/webapp1?  The context path is not just about
what goes in the URL, but where in tomcat's directory hierarchy the
resource can be found.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to