If you do not have a full-fledge webapp (with a
WEB-INF/web.xml), you will have to add the context to
Tomcat's server.xml
Here's an example that I use to just "noodle around"
with jsp files:
<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>
This is based on the example in server.xml. However,
if you want to use taglibs you'll need to go the
entire route with a proper WEB-INF, lib, and
WEB-INF/web.xml.
In the long run, it's probably best to do this, since
any web application you deploy should have the
standard web application deployment descriptor.
Take a look at
%TOMCAT_HOME%\webapps\tomcat-docs\appdev and the
subdirectories for a simple example.
HTH
/mde/
just my two cents . . . .
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]