Hi,
I have a problem related to configuring multiple struts config file in
Struts 1.1.
The following is the code snippet added in web.xml :-
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/appl2</param-name>
<param-value>/WEB-INF/struts-config-appl2.xml</param-value>
</init-param>
I have put the two config files in web-inf folder of Weblogic. However, I
have created another folder by the name "appl2" inside web-inf wherein I
have put all the classes for the 2nd application (appl2). This is all that i
have done for sub-applications.
But, when I load the 2nd application, its not finding the
struts-config-appl2.xml file and am getting the following error : -
javax.servlet.jsp.JspException: Cannot retrieve mapping for action
/logonNewConfig
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:828)
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:528)
at jsp_servlet.__app1content._jspService(__app1content.java:165)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
where /logonNewConfig is the action specified in the struts-config-appl2.xml
file.
Please reply asap
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>