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.cucchi...@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, jimjoh...@gmail.com <jimjoh...@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-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> > > > > -- > Maurizio Cucchiara > -- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org