Multiple controller

2011-05-02 Thread jimjoh...@gmail.com
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



Re: Multiple controller

2011-05-02 Thread jimjoh...@gmail.com
Hi 

My code is as follolws .

 
action
   
org.apache.struts.action.ActionServlet
 
config/
   
/WEB-INF/conf/struts/struts-config-1.xml




 
action2
   
org.apache.struts.action.ActionServlet
 
config/
   
/WEB-INF/conf/struts/struts-config-2.xml



 
action 
*.do 
 

 
action2 
*.au 
 



In the controller tag of struts-config 1 and 2 i have put classes say class1
and class2 which extend RequestProcessor.

but when *.au request is  made it is not getting into class2 instead it is
getting into class1





--
View this message in context: 
http://struts.1045723.n5.nabble.com/Multiple-controller-tp4364290p4364494.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