On Wed, 22 May 2002, Hua Sheng wrote:

> JM wrote:
>
> > Did you restart tomcat?
> >
> > JM
> >
>
> yes, I go to tomcat/bin
> then submit startup.sh

What shows up in the logs when you try that URL?


> > > -----Original Message-----
> > > From: A mailing list for discussion about Sun Microsystem's Java Servlet
> > > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Hua
> > > Sheng
> > > Sent: Wednesday, May 22, 2002 1:14 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: ContextPath
> > >
> > >
> > > Milt Epstein wrote:
> > >
> > > > 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.
> > > >
> > >
> > > yes, HelloHua as
> > >       <path-to-tomcat>/webapps/webapp1/WEB-INF/classes/HelloHua.class

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