Hi Yann, IMHO, from my understanding, the idea of having message resources bundle in a separate text file is so that we do not have to change any codes (JSP/Java) which means easier maintenance and more flexibility. So I would suggest using a text file for a resource bundle and put it anywhere below your WEB-INF/classes/dir1/dir2 as somefilename.properties (I would put all the resources in the same directory) and then you can access using <bean:message key="somekeyname" bundle="dir1.dir2.somefilename"/> (note that the .properties extension is not needed).
If you insist on using JSP then you should just use scriplet variables like <% String emailProtocol = "POP3" %> and call it using <%= emailProtocol %> Do I get your question right? Hope it helps, Lucas > -----Original Message----- > From: Yann Verlynde [mailto:yverlynde@;oxade.com] > Sent: Wednesday, October 30, 2002 11:58 PM > To: Struts > Subject: Help please in ApplicationResources > > If I want to have a message in a JSP, I use this code: > <bean:message key="email.protocol" bundle="APPLICATION_CONFIGURATION"/> > > But I want to have all the messages resources in my JSP, > How can I do that please? > > Thanks in advance -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>