That's what I thought.  There is a solution then (for the OP's problem), but
it does involve writing a dispatcher and mapping *.page to the dispatcher,
and having it parse the context path the way struts does.

*.jsp is the same exact case, actually.


-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 9:53 AM
To: Tomcat Users List
Subject: Re: Servlet on FileTypes

*.do goes to struts.

Then struts does the appropriate re-mapping to the correct action.

-Tim

Tim Lucia wrote:

> Are you sure?  How would Struts handle modules with a generic action
servlet
> mapping for *.do?  I.e., I can have module actions like /mod1/action1.do,
> /mod1/action2.do, /mod2/action1.do, etc., all stemming from the single
*.do
> mapping to the action servlet.
> 
> Tim
> 
> -----Original Message-----
> From: Kenneth Østby [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 09, 2006 8:54 AM
> To: Tomcat Users List
> Subject: Re: Servlet on FileTypes
> 
> On 6/9/06, Parsons Technical Services <[EMAIL PROTECTED]>
> wrote:
> 
>>Try just using *.page only.
> 
> 
> 
> 
> That will only work on /*.page, not  in every  subdir.
> 
> 
> 
> ----- Original Message -----
> 
>>From: "Kenneth Østby" <[EMAIL PROTECTED]>
>>To: <users@tomcat.apache.org>
>>Sent: Friday, June 09, 2006 8:39 AM
>>Subject: Servlet on FileTypes
>>
>>
>>
>>>Hey..
>>>
>>>I'm trying to map **/*.page to a spesific servlet, and I can't find any
>>>documentation about.
>>>
>>>Is there a way that I can use url-mapper to eat /**/*.page ?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to