Hi ,
I am trying to work with sub application(modules) in Struts 1.1 .
I have made the following entry in my web.xml
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/conf/struts-default.xml</param-value>
</init-param>
<init-param>
<param-name>config/mod</param-name>
<param-value>/WEB-INF/conf/struts-mod.xml</param-value>
</init-param>
<init-param>
and also mode the following entry for switch action in my struts-default.xml
<action path="/switch" type="org.apache.struts.actions.SwitchAction"/>
Now when I try to access
using the URL
http://127.0.0.1:8080/struts-example/switch.do?prefix=mod&page=index.do
I am getting the following error
Invalid sub-application prefix module1 was specified
Could anyone let me know where I am making the mistake .
Thanks !
Bachan
---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site