>>>>> "SSteib" == SSteib  <[EMAIL PROTECTED]> writes:

    SSteib> Hi,
    SSteib> the struts-example from Struts 1.1 works with Resin 2.05 but if I start it
    SSteib> with the WSAD 4.0 (Websphere Application Developer) there comes this error:

    SSteib> Error Message: Cannot find message resources under key
    SSteib> org.apache.struts.action.MESSAGE
    SSteib> Error Code: 500
    SSteib> Target Servlet: null
    SSteib> Error Stack:
    SSteib> javax.servlet.jsp.JspException: Cannot find message resources under key
    SSteib> org.apache.struts.action.MESSAGE
    SSteib>      at org.apache.struts.util.RequestUtils.message(RequestUtils.java:793)
    SSteib>      at
    SSteib> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:295)
    SSteib>      at index_jsp_0._jspService(index.jsp :6)
    SSteib>      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)

    SSteib>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    SSteib>      at
    SSteib> 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)


    SSteib>      at
    SSteib> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
    SSteib>      at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
    SSteib>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    SSteib> ...

    SSteib> Has somebody an idea? I didn't changed the example. So in the
    SSteib> struts-config.xml it's still this code:
    SSteib> <message-resources parameter
    SSteib> ="org.apache.struts.webapp.example.ApplicationResources"/>

Try this experiment:  Add the following attribute to your "message-resources"
element and redeploy/retest:

  key="org.apache.struts.action.MESSAGE"

However, if you've hit the problem that I've seen recently, it appeared after
the latest beta release, and I don't see how it could work in Resin, but NOT in
WSAD.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


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

Reply via email to