"McDonnell, Colm (MLIM)" <[EMAIL PROTECTED]> wrote:I'm not sure what you are 
saying here.


When I create a new project with same properties file key/value
(app.title=Wiley Employee Sample), it works well .


Are you saying that everything is ok now? Or are you saying that you
have two projects which *appear* to be the same and that one is working
whilst the other is failing with the "Cannot find message resources
under key org.apache.struts.action.MESSAGE" error?


-----Original Message-----
From: EROL TEZCAN [mailto:[EMAIL PROTECTED] 
Sent: 17 June 2005 15:53
To: Struts Users Mailing List
Subject: RE: "Cannot find message resources under key
org.apache.struts.action.MESSAGE " Error


Yes, there is a file named ApplicationResources.properties in the
WEB-INF/classes/employees/view folder, it has key/value like
"app.title=Wiley Employee Sample"

When I create a new project with same properties file key/value
(app.title=Wiley Employee Sample), it works well .



"McDonnell, Colm (MLIM)" wrote:
Is there a file named ApplicationResources.properties in the
WEB-INF/classes/employees/view folder within your deployed application?
If so, does this file contain a property for app.title (e.g.
app.title=Foo)?


-----Original Message-----
From: EROL TEZCAN [mailto:[EMAIL PROTECTED] 
Sent: 17 June 2005 14:31
To: sturts_apache_user sturts_apache_user
Subject: "Cannot find message resources under key
org.apache.struts.action.MESSAGE " Error


Hi All,

I am working to run an example in Mastering Jakarta Struts Chapter 11 .

When I want to run this application , I got an error.

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtil
s.java:1103)
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at _login._jspService(login.jsp:8)
[SRC:/login.jsp]


In login.jsp at row 8 : 

I defined app.title key in ApplicationResources.properties file and ve
this file is defined like 



in struts-config.xml file.

Also, in login.jsp struts-taglibs are defined like 




Why it gives this error and how can I solve?

Erol


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy,
retain or redistribute it. Click here for important additional terms
relating to this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------

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


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



                
---------------------------------
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football

Reply via email to