struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <maurizio.cucchi...@gmail.com>
Subject Re: Multiple controller
Date Mon, 02 May 2011 10:20:05 GMT
Probably I would use filter-mapping
<filter-mapping>
       <filter-name>struts</filter-name>
       <url-pattern>/*</url-pattern>
</filter-mapping>


On 2 May 2011 12:19, Maurizio Cucchiara <maurizio.cucchiara@gmail.com> wrote:
> I'm not sure I understand what you exactly mean, but have you tried to
> map the url through the web.xml?
> for example:
>
> <servlet-mapping>
>    <servlet-name>struts-1</servlet-name>
>    <url-pattern>*.do</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
>    <servlet-name>struts-2</servlet-name>
>    <url-pattern>*.au</url-pattern>
> </servlet-mapping>
>
>
>
> On 2 May 2011 11:49, jimjohn83@gmail.com <jimjohn83@gmail.com> wrote:
>>
>> Hi
>>
>> Can anybody give configuration to handle 2 controller?
>>
>> For the first controller my url-pattern will be *.do and for the second one
>> it will be *.au
>>
>> Can any body help me?
>>
>> Thanks
>>
>> --
>> View this message in context: http://struts.1045723.n5.nabble.com/Multiple-controller-tp4364290p4364290.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
>
>
> --
> Maurizio Cucchiara
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message