-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tod,
On 9/18/2011 1:37 PM, Tod Olson wrote:
> I would like to run two versions of the same servlet (same
> servlet-class, but with different WAR filename, servlet-name and
> url-pattern) under a single instance of Tomcat 6.0.33.
Your nomenclature i
Actually, the explanation below was a bit approximative (late Sunday night
thing).
It's not really "relative".
The formal explanation is given in the Servlet Specification, but it's more
like this :
a) Tomcat uses the first path component of the URL, to map a request to a web
application.
(in
Aha, that fixes it.
Thanks for that explanation, I had completely missed that about the url-pattern
being relative to the webapp. I clearly need to un-confuse myself about
servlet-mapping.
Thank you!
-Tod
On Sep 18, 2011, at 2:19 PM, André Warnier wrote:
> Hi.
>
> Change the of your test
Hi.
Change the of your test application, to be exactly the same as the
of the production application.
And invoke it as "http://yourhost.cpy.com/testvsb/";, followed by the same "rest of URL" as
what you use for the main application.
Brief explanation : the is *relative* to the "webapp na
I would like to run two versions of the same servlet (same servlet-class, but
with different WAR filename, servlet-name and url-pattern) under a single
instance of Tomcat 6.0.33. Basically, the aim is to run both test and
production versions of the servlet under the same instance. Better to r