struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Slater <pslate...@yahoo.com>
Subject Re: WebApp Cannot seem to locate Resource Bundle
Date Tue, 02 May 2006 22:19:32 GMT
I also have a message resource entry in struts-config.xml file:
<message-resources parameter="com.xxx.i18nMessages.MessageResources" />

Pat Slater <pslater33@yahoo.com> wrote: I have defined Action Servlet configuration
in web.xml as:
   
     action
     org.apache.struts.action.ActionServlet
     
       
application
          
com.xxx.i18nMessages.MessageResources

     
     
       
config

       
/WEB-INF/conf/struts-config.xml

     
     
       
debug

       
2

     
     
       
detail

       
2

     
     2
   
 
 But, when I put this into a jsp page:
 <%@ taglib uri="/WEB-INF/conf/struts-bean.tld" prefix="bean" %>
 
 
 then, I the exception:
 ERROR - ApplicationDispatcher.invoke(719) | Servlet.service() for servlet jsp threw exception
 javax.servlet.jsp.JspException: Missing message for key "loginEntry.userName"
 
 ERROR - InsertTag$InsertHandler.doEndTag(922) | ServletException in '/WEB-INF/tiles/login/loginFields.jsp':
Missing message for key "loginEntry.userName"
 javax.servlet.ServletException: Missing message for key "loginEntry.userName"
  
 My struts app cannot seem to resolve the loginEntry.userName key-value pair for some reason....
Need help on this. Thank you very much
 
  
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2�/min with Yahoo!
Messenger with Voice.

		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message