struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SSt...@c-a-s.de
Subject Antwort: Re: Antwort: Re: Cannot find message resources under key org.apache.struts .action.MESSAGE
Date Mon, 08 Apr 2002 15:39:10 GMT

I tried it but there is still the same problem. Do you mean I have to wait
till 1.1 final release?




                                                                                         
                        
                    Arron Bates                                                          
                        
                    <arronb@pacif        An:     Struts Users Mailing List <struts-user@jakarta.apache.org>
      
                    ic.net.au>           Kopie:                                       
                           
                                         Thema:  Re: Antwort: Re: Cannot find message resources
under key         
                    08.04.2002           org.apache.struts      .action.MESSAGE          
                        
                    17:14                                                                
                        
                    Bitte                                                                
                        
                    antworten an                                                         
                        
                    "Struts Users                                                        
                        
                    Mailing List"                                                        
                        
                                                                                         
                        
                                                                                         
                        




add key="org.apache.struts.action.MESSAGE" to the <message-resources> tag.

eg:
<message-resources
  parameter="org.apache.struts.webapp.example.ApplicationResources"
  key="org.apache.struts.action.MESSAGE"
  />

Try that one.
Some other bright spark found it (didn't leave his name). It's a problem
with 1.1beta. Still has yet to be fixed for the full 1.1 release.

Arron.

SSteib@c-a-s.de wrote:

>Can it be that you mean this for Struts 1.02?
>But I use Struts 1.1 and there must be in the struts.config.xml (instead
of
>in the web.xml) the following text:
><message-resources parameter=
>"org.apache.struts.webapp.example.ApplicationResources"/>
>
>So it must have another reason it doesn't work, cause it work with Resin.
>
>
>
>

>                    rizvan.katchera@

>                    socgen.com              An:     SSteib@c-a-s.de

>                                            Kopie:
struts-user@jakarta.apache.org
>                    08.04.2002 16:37        Thema:  Re: Cannot find
message resources under key org.apache.struts
>                    Bitte antworten         .action.MESSAGE

>                    an "Struts Users

>                    Mailing List"

>

>

>
>
>
>
>
>
>
>
>It is a typicall error
>To solve it you must add a file called applicationResources.properties
>You must check if the web.xml contains the folowing text :
> <init-param>
>      <param-name>application</param-name>
>
><param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>

>
>  </init-param>
>I added an example of this file in the message
>Regards
>(See attached file: APPLIC~1.PRO)
>______________________________ Reply Separator
>_________________________________
>
>
>
>SSteib@c-a-s.de
>08/04/2002 15:57:00
>
>
>
>
|-----------------------------------------------------------+------------------|

>
>|                                                           |Return
>Receipt: No|
>| To:    struts-user@jakarta.apache.org                     |Importance:
>Normal|
>| cc:     (bcc: Rizvan KATCHERA/fr/socgen)                  |
>|
>|                                                           |
>|
>
|-----------------------------------------------------------+------------------|

>
>
>
>
>
>SUBJECT: Cannot find message resources under key
>         org.apache.struts.action.MESSAGE
>
>
>Hi,
>the struts-example from Struts 1.1 works with Resin 2.05 but if I start it
>with the WSAD 4.0 (Websphere Application Developer) there comes this
error:
>
>Error Message: Cannot find message resources under key
>org.apache.struts.action.MESSAGE
>Error Code: 500
>Target Servlet: null
>Error Stack:
>javax.servlet.jsp.JspException: Cannot find message resources under key
>org.apache.struts.action.MESSAGE
>     at org.apache.struts.util.RequestUtils.message(RequestUtils.java:793)
>     at
>org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:295)
>     at index_jsp_0._jspService(index.jsp :6)
>     at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>     at
>org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286)

>
>
>
>     at
>org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
>     at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>...
>
>Has somebody an idea? I didn't changed the example. So in the
>struts-config.xml it's still this code:
><message-resources parameter
>="org.apache.struts.webapp.example.ApplicationResources"/>
>
>
>Thanks,
>Susanne
>
>
>
>--
>To unsubscribe, e-mail:   <
>mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <
>mailto:struts-user-help@jakarta.apache.org>
>
>
>(See attached file: APPLIC~1.PRO)--
>To unsubscribe, e-mail:   <
>mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <
>mailto:struts-user-help@jakarta.apache.org>
>
>
>------------------------------------------------------------------------
>
>--
>To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <
mailto:struts-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@jakarta.apache.org>






--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message