What do you mean "Tomcat does not launch new contexts by default"? In fact, Tomcat's default is to auto-deploy any .war or directory added to the CATALINA_HOME/webapps directory. Also, most of the attributes you've added are not of much consequence in most cases. Here is about the base minimum you need when actually specifying a <Context ...> element (which you don't have to do by default).
<Context path="/myapp" docBase="myapp" />
You can take defaults on the rest of them.
Jake
At 07:22 PM 3/3/2003 -0800, you wrote:
Barry,
If you're creating a new directory to learn JSP, be aware that Tomcat does not launch new contexts by default.
I've placed the following in my server.xml file right before the </Host>. This allows me to just 'drop in' jsp files to test things. I also log the information to a separate file so I can parse the error logs more easily.
<Context className="org.apache.catalina.core.StandardContext" crossContext="true" reloadable="true" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="beg-jsp" cookies="true" path="/beg-jsp" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper"> <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_beg-jsp_log." directory="logs" timestamp="true" suffix=".txt"/> </Context>
You'll probably want to change the debugging level as well.
HTH
/mde/ just my two cents
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
