why do you need to? why not just: <html:html> <body> <bean:message key="title.from.ressources"/> </body> </html:html>
-----Original Message----- From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 9:07 AM To: Struts Users Mailing List Subject: RE: using ApplicationResources in jsp... because i need to get the value of my property inside a <% ... %> > -----Message d'origine----- > De : Hunziker Dennis [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 5 décembre 2003 15:03 > À : 'Struts Users Mailing List' > Objet : RE: using ApplicationResources in jsp... > > > why not try the following: > <bean:message key="title.from.ressources"/> > > -----Original Message----- > From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED] > Sent: Freitag, 5. Dezember 2003 15:01 > To: [EMAIL PROTECTED] > Subject: using ApplicationResources in jsp... > > > Hi, > i wonder to know if it's possible to use a property in > ApplciationResources > in the jsp code. > > I want to do something like this : > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <%@ page language="java" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %> > <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> > <% > String title = title.from.ressources; // i don't know how > to access it ! > %> > <html:html> > <body> > <%=title%> > </body> > </html:html> > > > > -- > Marc AMIR-TAHMASSEB > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]