Wilbert,
There is no such restriction. You can run your application from any
directory. It's just that webapps is the default directory. If you wish to
run the application from another directory, you need to define the context
in $TOMCAT_HOME/conf/server.xml file.
-sourabh

----- Original Message -----
From: wilbert moore <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 7:49 AM
Subject: Re: Create New Webapp


> Really... so you are saying I can never have an application run from some
other directory? I'm no expert on tomcat, however, I've never seen a web/app
server that made that kind of restriction.
>
> Please be sure of this and let me know.
>
> -Wil
>
> On Mon, 11 March 2002, Wilson Edgar wrote:
>
> >
> > have u added the <context> tag in server.xml???
> > all aplications have to be stored under the webapps directory, in my
case it
> > looks like
> > C:\Program Files\Apache Tomcat 4.0\webapps
> >
> > hope this helps
> > wills
> >
> > -----Mensagem original-----
> > De: Wil Moore [mailto:[EMAIL PROTECTED]]
> > Enviada: segunda-feira, 11 de Mar�o de 2002 4:20
> > Para: [EMAIL PROTECTED]
> > Assunto: Create New Webapp
> >
> >
> > I've successfully managed to setup tomcat4 under the control of apache
> > With mod_webapp.
> > However, when I use the manager app to create a new webapp under my root
> > Web directory (c:\apache\htdocs), I can't seem to view any servlets or
> > jsp
> > Pages.
> >
> > I created an app at path /testservlet
> >
> > http://localhost/testservlet does nothing.
> >
> > What am I missing?
> > I have WEB-INF/classes/testservlet.class
> > And I have web/index.html
> >
> > None of these are visible.
> >
> > -Wil
> >
> >
___________________________________________________________________________
> > 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
> >
> >
___________________________________________________________________________
> > 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
>
>
> __________________________________________
> Launch your own web site Today!
> Create a Web site for your family,
> friends, photos, or a special event.
> Visit: http://www.namezero.com/sitebuilder
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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