tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Curwen" <>
Subject RE: possibly off topic: question
Date Tue, 17 Jun 2003 18:40:09 GMT
Ah, I think the lightbulb just went off.  I think I can do this?

Of course, right now I don't have the '/foo' in any of my url-patterns.
But if I put 'foo' there, I can ask the jkMount to map to 'foo'. Of
course, 'foo' is anything you want.  In this case, would I have to mount
to /foo/*  , as oppposed to just plain /foo* ?

Or make it easier than that, and as you suggest, prepend a token to the
servletname like:


and map jkmount to /ser*   ?

> -----Original Message-----
> From: Jason Bainbridge [] 
> Sent: Tuesday, June 17, 2003 12:29 PM
> To: Tomcat Users List
> Subject: Re: possibly off topic: question
> On Wed, 18 Jun 2003 00:04, Mike Curwen wrote:
> > Maybe I'm missing something, but I'm not using Tomcat's servlet 
> > invoker. So I don't have a single 'some-string-here' (ie /servlet) 
> > that I can use. Or do I?
> I guess a lot of people are in a similar situation to the one 
> I am in where 
> the web application is completely composed of servlets so to 
> simplify the URL 
> the servlets within the web.xml file are mapped to exclude 
> the servlet 
> keyword eg:
> /webapp/servletName
> This as you have suggested isn't too friendly for jkMount 
> statements as there 
> is no way to determine if it is a servlet or not, I guess the 
> only way around 
> that is to change the mapping to include the servlet keyword.
> Regards,
> -- 
> Jason Bainbridge
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message