Background: Tomcat 5.5.20
I am devolping a web service to provide vocabulary in a library setting.
The service will be located at:
http://tspilot.oclc.org/
One of the vocabularies is named "gsafd"
I need to respond differently to:
http://tspilot.oclc.org/gsafd
vs
http://tspilot.oclc.org/gsafd/
In the first case, I need to provide an XML document that gives a
description of the vocabulary. I'm trying to do this from the ROOT
webapp. In the second case, I am providing an SRU explain response. I
have managed to accomplish the second case via URL rewrite rules in the
gsafd webapp's web.xml. It appears that TOMCAT adds the trailing slash
to the URL if it is not present and so route the request through the
gsafd context. How do I set up TOMCAT not to do this so the first form
is processed through the ROOT webapp. There will be other vocabularies:
lcsh, lcshac, mesh, and fast as well as other that have to respond the
same way.
Ciao,
Roger
Thompson