Because there is more to adding a directory to Tomcat than just throwing a
Context tag into server.xml.  Did you create a web.xml file?  Is your
DefaultContext configured correctly?  Do you have the right directory
structure under /test (it should mirror the directory structure under
/examples)?

You might want to check the documentation, such as the Application
Developer's Guide, which will explain things like directory structures,
deployment requirements, etc.:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html

John


> -----Original Message-----
> From: Roland Dong [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 03, 2002 12:37 PM
> To: Tomcat Users List
> Subject: Re: Need help with Tomcat!
> 
> 
> Thanks for your reply. However, it follows the example 
> included in Tomcat
> 
> <Context path="/examples" docBase="examples" debug="0"
>                  reloadable="true" crossContext="true">
> 
> 
> And examples works but test doesn't! Why?
> 
> Roland
> 
> On 12/3/02 11:27 AM, "Fenlason, Josh" <[EMAIL PROTECTED]> wrote:
> 
> > Try changing the docBase attribute to the full path to the 
> test directory.
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to