What are the contents of web.xml?  

John


> -----Original Message-----
> From: Andy Wickson [mailto:andy@;awtech.co.uk]
> Sent: Friday, October 18, 2002 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Beginner's config problem with TomCat 4.1.12 on Win2K
> 
> 
> Hi,
> 
> Thanks for the quick response.
> I tried putting the following code into server.xml and 
> re-started TomCat:
> 
> <Context path="/myDirectory" docBase="myDirectory" debug="0"
>                  reloadable="true" crossContext="true"/>
> 
> but I still get the same thing (Http Status 404).
> 
> To re-iterate, I have the following code set up:
> 
> %CATALINA_HOME%\webapps\myDir\index.html
> %CATALINA_HOME%\webapps\myDir\WEB-INF\classes\myClass.class
> %CATALINA_HOME%\webapps\myDir\WEB-INF\web.xml
> 
> The html file is served correctly when viewed from a browser.
> The CATALINA_HOME environment variable is set correctly.
> 
> With reference to the docs they seem to give a mixed message.
> 
> The link you gave me about Auto Deploy leads to 'The Host 
> Container' page .
> Under the 'Automatic Application Deployment' (apparently 
> default) section, the third bullet point implies that this 
> context stuff takes place automatically.
> 
> Also, on the 'Deployment' page, under the 'Deployment with 
> TomCat 4' section, the first bullet point relates to the 
> approach I am attempting and yet it doesn't mention the need 
> to alter the server.xml file.
> 
> I'd be grateful for any ideas you may have...
> 
> Regards
> 
> Andy Wickson
> 
> 
> 
> 
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to