The following is the error message i get when i am trying to configure multiple struts-config files. It could NOT retrieve mapping for the action path in the second config file(i.e struts-config-private.xml) Here are the entries in my web.xml and 1,2 struts-config files. in jsp file i have "action=/secondfile" in form element. if i switch "action=/firstfile", it is working. Can any one help me please. - Raj [6/12/03 16:01:01:594 EDT] 34b56128 WebGroup X Servlet Error: Cannot retrieve mapping for action /secondfile: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /secondfile at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:871) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:543) ------------------------"web.xml"------------------------------------------------- <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config-public.xml </param-value> </init-param> <init-param> <param-name>config/private</param-name> <param-value>/WEB-INF/struts-config-private.xml </param-value> </init-param> ------------------------"struts-config-public.xml"-------------------------------- <action path="/firstfile" type="org.apache.struts.webapp.example.LogonAction" name="logonForm" scope="session" validate="true" input="/logon.jsp"> <forward name="success" path="test.try"/> </action> ------------------------"struts-config-private.xml"-------------------------------- <action-mappings> <action path="/secondfile" type="org.apache.struts.webapp.example.LogonAction" name="logonForm" scope="session" validate="true" input="/logon.jsp"> <forward name="success" path="test.try"/> </action> </action-mappings>
--------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM).