Re: new newsgroups:Lab1

"Gary Boal" <[email protected]> Wed, 9 Jul 2003 10:39:17 -0700
Newsgroups gmane.comp.java.mvc.devel
Message-ID <000701c34641$05aa95f0$7d01960a@VAIO>
I believe you need to remove the "_en-US" from the filename when identifying it in the struts-config.xml file. Struts will append the suffix automatically. E.g. <message-resources    parameter="properties/messages"/>


Gary Boal
[email protected]

  ----- Original Message ----- 
  From: Peyathevar, Santhi {PBG} 
  To: '[email protected]' 
  Sent: Wednesday, July 09, 2003 10:08 AM
  Subject: RE: [MVC-Programmers] new newsgroups:Lab1


  All: 

  Problem: My taskEdit.jsp is not picking up the message from property file

  1.taskEdit.jsp:
  <fmt:message key="pepsi.task.name"/>

  2.struts.xml:
  <message-resources    parameter="properties/messages_en-US"/>

  3.messages.properties, messages_en-US.properties exist in
  WEB-INF\classes\properties

  4.property entries are in both .property files

  What am i missing? In step 2, tried:
  parameter="WEB-INF/classes/properties/messages_en-US"

  Santhi
  _______________________________________________
  MVC-Programmers mailing list
  [email protected]
  http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers