you can't. You can have only one controller. Just look into struts-config_1_2.dtd file.
'?' means that You can have zero or one occurence of controller tag.
Why do You want to have two controllers ?
Best Regards, KArol Muszynski
Joined: Apr 08, 2004
if i change dtd like this <!ELEMENT struts-config (display-name?, description?, data-sources?, form-beans?, global-exceptions?, global-forwards?, action-mappings?, controller?, controller?, message-resources*, plug-in*)> Will struts-config.xml accepts 2 controller tags.
Joined: Aug 09, 2005
Struts are designed to use one controller and changing dtd will not help. You can rewrite or extend struts but also I don't think it's a good idea. Tell us why do You want to use more then one controller. Maybe we can help You with Your architectural problem.