struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashanth.S" <suman291...@yahoo.com>
Subject Re: Cannot find message resources under key org.apache.struts.action.MESSAGE
Date Thu, 17 Jul 2003 02:24:07 GMT
Hi augusto,
I think in ur ApplicationResources.properties file check out for the existance for all the
keys u r using like app.title,app.name etc etc..
Than if its correct paste ur <html:message>,<html:error>,<bean:message>
etc tags where u r using keys from properties file...
Thanks
Prashanth

Augusto.Guagliano@infosoftware.com.br wrote:
Dirk

Thanks for your response!
I did not have that tag in my struts-config.xml. Actually this is my third 
Struts application and I never used it before.
Well, I pasted it and re-deployed the app, but it did not work either 
(nothing has changed).
:-/



My JSP crashes if I add bean:messages like:


If I remove them all, nothing goes wrong (but I get a blank page :o)

Anyone?


=================================== 
Augusto Cesar Guagliano
augusto@infosoftware.com.br
Project Manager
+55 19 3253.3440
Infosoftware Consulting
http://www.infosoftware.com.br
===================================

Esta mensagem pode conter informação confidencial e/ou privilegiada. Se 
você não for o destinatário ou a pessoa autorizada a receber esta 
mensagem, não pode usar, copiar ou divulgar as informações nela contidas 
ou tomar qualquer ação baseada nessas informações. Se você recebeu esta 
mensagem por engano, por favor avise imediatamente o remetente, 
respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação.

This message may contain confidential and/or privileged information. If 
you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose or take any action based on this message 
or any information herein. If you have received this message in error, 
please advise the sender immediately by reply e-mail and delete this 
message. Thank you for your cooperation.





Dirk Markert 
16/07/2003 11:39
Please respond to "Struts Users Mailing List"


To: "Struts Users Mailing List" 
cc: 
Subject: Re: Cannot find message resources under key 
org.apache.struts.action.MESSAGE


Hello Augusto,

do you have



in your struts-config.xml?

***************************************************************

AGicb> Hi everyone

AGicb> I have an application that was working fine 'til yesterday.
AGicb> As you probably figured out, yes, I am new with Struts :-)

AGicb> After some modifications (mess?), I started getting:
AGicb> org.apache.jasper.JasperException: Cannot find message resources 
under key 
AGicb> org.apache.struts.action.MESSAGE

AGicb> My ApplicationResources.properties is inside /WEB-INF/classes
AGicb> In my web.xml, I have:

AGicb> 
AGicb> action
AGicb> 
org.apache.struts.action.ActionServlet
AGicb> 
AGicb> 
application

AGicb> 
ApplicationResources

AGicb> 
AGicb> (... etc...)


AGicb> I tried googling (and searching list archive, which is down), but 
all the 
AGicb> solutions point to misplacement of the properties file, and that is 
not my 
AGicb> case.

AGicb> What am I doing wrong?

AGicb> I am using Struts 1.1 and Tomcat 4.1.24.

AGicb> =================================== 
AGicb> Augusto Cesar Guagliano
AGicb> augusto@infosoftware.com.br
AGicb> Project Manager
AGicb> +55 19 3253.3440
AGicb> Infosoftware Consulting
AGicb> http://www.infosoftware.com.br
AGicb> ===================================

AGicb> Esta mensagem pode conter informação confidencial e/ou 
privilegiada. Se 
AGicb> você não for o destinatário ou a pessoa autorizada a receber esta 
AGicb> mensagem, não pode usar, copiar ou divulgar as informações nela 
contidas 
AGicb> ou tomar qualquer ação baseada nessas informações. Se você recebeu 
esta 
AGicb> mensagem por engano, por favor avise imediatamente o remetente, 
AGicb> respondendo o e-mail e em seguida apague-o. Agradecemos sua 
cooperação.

AGicb> This message may contain confidential and/or privileged 
information. If 
AGicb> you are not the addressee or authorized to receive this for the 
addressee, 
AGicb> you must not use, copy, disclose or take any action based on this 
message 
AGicb> or any information herein. If you have received this message in 
error, 
AGicb> please advise the sender immediately by reply e-mail and delete 
this 
AGicb> message. Thank you for your cooperation.



Regards,
Dirk

+------- Quality leads ---------------------------------------+
| Dirk Markert dirk.markert@dr-markert.de |
| Dr. Markert Softwaretechnik AG |
| Joseph-von-Fraunhofer-Str. 20 |
| 44227 Dortmund |
+---------------------------------->>>>>>> to success! <<<<<<-+



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






---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message