Hi, please complete my configuration file for multiple module.

##############
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/project</param-name>
 
<param-value>/WEB-INF/struts-project-config.xml</param-value>
        </init-param>
##############
In struts-config.xml
##############
    <action-mappings>
                <action    path="/index"
                        forward="/index.jsp">
                </action>

                <action    path="/other"
                        forward="/WEB-INF/jsp/other.jsp">
                </action>       

        <action path="/project"
                type="org.apache.struts.actions.SwitchAction"/>
 
    </action-mappings>
##############

I would like to have a complete example using Switch example.
Now, my server throws that:
HTTP 500
exception 
org.apache.jasper.JasperException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:248)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        ...
cause more 
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:530)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:92)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)

Why? Please help me.

Best regards, Laurent.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to