I think the docBase should be :
<Context path="/test" docBase="test" debug="0" reloadable="true" />
hopefully this is it.
Jf
"Ramanujan, Madhusudhan"
<Madhusudhan.Ramanujan@PACIF To:
[EMAIL PROTECTED]
ICORP.COM> cc:
Sent by: A mailing list about Java Subject: Re: tomcat4.0, how
to ad new context
Server Pages specification and ??
reference <[EMAIL PROTECTED]>
12/17/01 04:45 PMPlease respond to A
mailing list about Java Server Pages
specification and reference
Hi,
I have installed the TOMCAT 4.01.and set up an application called test on
my windows 2000 machine . I am trying to run a test servlet called
test.java It is nothing but a helloworld program.
Now I have created a directory called test like
<CATALINA_HOME>webapps\test.
I have these directories ie
<CATALINA_HOME>webapps\test.
<CATALINA_HOME>webapps\test\WEB-INF (the place where i
have a dummy web.xml file)
<CATALINA_HOME>webapps\testWEB-INF\classes (where test.java and
test.class are located)
<CATALINA_HOME>webapps\test\WEB-INF\lib
I have included <Context path="/test" docBase="" debug="0" reloadable
="true" /> in the server.xml file.
tell me what is wrong here as I am not getting the output.
when I type: http://localhost:8080/test. I am getting the directory lists
like below:
--------------------------------------------------------------
Directory Listing For /
Filename Size Last Modified
ROOT/ Sun, 14 Oct 2001 19:13:54 GMT
examples/ Sun, 14 Oct 2001 19:13:52 GMT
manager/ Sun, 14 Oct 2001 19:13:54 GMT
tech/ Mon, 17 Dec 2001 19:51:08 GMT
test/ Mon, 17 Dec 2001 20:37:12 GMT
tomcat-docs/ Sun, 14 Oct 2001 19:13:52 GMT
webdav/ Sun, 14 Oct 2001 19:13:54 GMT
------------------------------------
and when I click test, I get just this.....
-----------------------------------------------------------------
Apache Tomcat/4.0.1
-----------------------------------------
can anybody help me here please.
Madu Ramanujan
Business Analyst
Pacificorp
-----Original Message-----
From: Ketharinath Kamalanathan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: tomcat4.0, how to ad new context ??
does your Server Startup now?
/KK
----- Original Message -----
From: "sufi malak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:48 AM
Subject: Re: tomcat4.0, how to ad new context ??
> It still does not work when I add a context in server.xml like :
> <Context path="/activeuser" docBase="activeuser" debug="0"
> reloadable="true">
>
>
> >From: Ketharinath Kamalanathan <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: tomcat4.0, how to ad new context ??
> >Date: Thu, 29 Nov 2001 11:32:11 -0600
> >
> >Malak:
> >
> >I just went thru the process and got the TomCat Srever up.
> >
> >First lets try to start the server.
> >
> >Assuming that your tomcat is installed in c:\tomcat, from the dos
prompt,
> >say set CATALINA_HOME="c:\tomcat". Also check that you have the
JAVA_HOME
> >set properly to the folder where jdk is installed.
> >
> >Then from the bin folder of tomcat, say startup. It should work.
> >
> >Ofcourse, I am mentioning about the Windows Env. I know little on Unix
env.
> >
> >Shout if you still have any problems. Then we shall oproceed to deploy
the
> >app.
> >
> >Thanks
> >
> >/KK
> >
> >----- Original Message -----
> >From: "sufi malak" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, November 29, 2001 10:50 AM
> >Subject: tomcat4.0, how to ad new context ??
> >
> >
> > > Hi, It's my first time using Tomcat4, so I created an application
called
> > > activeuser and put it in webapps and then I added in server.xml this
:
> > > <Context path="/activeuser" docBase="activeuser" debug="0"
> > > reloadable="true">
> > >
> > > When I try to start tomcat4 server it does not, but whenever I take
it
> >of
> > > tomcat4 start by showing catalina.e.
> > > thanks
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp
> > >
> > >
>
>
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://archives.java.sun.com/jsp-interest.html
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > > http://www.jguru.com/faq/index.jsp
> > > http://www.jspinsider.com
> > >
> >
>
>
===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://archives.java.sun.com/jsp-interest.html
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > http://www.jguru.com/faq/index.jsp
> > http://www.jspinsider.com
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
============================================================================
This email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone
else, unless expressly approved by the sender or an authorized addressee,
is unauthorized.
If you are not the intended recipient, any disclosure, copying,
distribution or any action omitted or taken in reliance on it, is
prohibited and may be unlawful. If you believe that you have received this
email in error, please contact the sender, delete this e-mail and destroy
all copies.
==============================================================================
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com