Whats the procedure to set more than one servlet directory?
It seems like the default site directory sets it up so that /servlet/ is the
path for servlets. however, I'd like to add my application which is in a
directory of /application/servlet/ and have orion recognize this as a
servlet directory as well. it seems that nothing i do in the
web-application.xml for my application does anything that affects this and
only the default-site web-appliation.xml has any real effect on the servlet
directory.
My web application is access through (for example)
http://localhost/MyApp/index.html
I'd like to be able to get anything under
http://localhost/MyApp/servlet/blah to run as a servlet.
My web-application.xml file has these as well:
<servlet-webdir>/servlet/</servlet-webdir>
<!-- Classpaths used by servlets and beans -->
<classpath>./servlets</classpath>
I've tried
<servlet-webdir>/MyApp/servlet/</servlet-webdir>
and many variations on this theme with no luck. It seems only to respect
the /servlet/ directory as set up in the default-site directory.
The comment above the <servlet-webdir> tag says:
"Servlet directory, the directory on the site which is allocated for
launching of servlets "
which leads me to believe there is only one servlet directory per site, but
if thats the case why is this in the application .xml config file?
any help is appreciated.
steve