You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Da...@rnib.org.uk on 2004/07/12 09:55:59 UTC

RE: How to "start" a web app? - documentation suggestion.

Proposed addition to the tomcat documentation that would do it for me.


"With the default setup, http://localhost:8080/index.html would
cause tomcat to seek a file index.html in directory
${catalina.home}/webapps/ROOT/index.html.

http://localhost:8080/myservlet would cause tomcat to seek 
a configuration file (web.xml) (more accurately the deployment descriptor)
in ${catalina.home}/webapps/myservlet/WEB-INF/

I.e. an application should be 'installed' directly within the
directory ${catalina.home}/webapps "
The class file for the servlet will normally be found in 
${catalina.home}/webapps/myservlet/WEB-INF/classes

This presumes the default setup, as tomcat is delivered."


I *think* the above is correct.

I guess I'm aiming at the newbie like me, taking tomcat out of the
box and hoping to have a servlet up and running quickly.
  (I'm not debating the fact that far more complex setups are possible
with tomcat :-)


HTH DaveP

** snip here **


-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

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