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]

Reply via email to