struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject Re: accessing application.properties from JSP
Date Tue, 03 Feb 2004 18:31:15 GMT
Serverside jsp processing knows nothing about embedded JavaScript or
anything else.

<bean:message .../> works anywhere on your page (if you remember to put the
taglib declaration)


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (cell)
AIM: jmitchtx
MSN: jmitchell@apache.org



----- Original Message -----
From: "Marco Mistroni" <mmistroni@waersystems.com>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Tuesday, February 03, 2004 12:01 PM
Subject: RE: accessing application.properties from JSP


> Hi,
> Actually my problem is that I have to make so that a javascript
> message can be internationalized, so I must get it from
> application.properties.
>
> But it looks like writing a <bean:message > inside a javascript method
> Does not work.....
>
> Any workarounds?
>
> I assume that message resources are stored in servlet context.. if so,
> under
> Which name?
>
> Thanx and regards
> marco
>
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org]
> Sent: 03 February 2004 15:09
> To: Struts Users Mailing List
> Subject: Re: accessing application.properties from JSP
>
> The same way it is done in the struts-example.
>
>
> --
> James Mitchell
> Software Engineer / Struts Evangelist
> http://www.struts-atlanta.org
> 678.910.8017 (cell)
> AIM: jmitchtx
> MSN: jmitchell@apache.org
>
>
>
> ----- Original Message -----
> From: "Marco Mistroni" <mmistroni@waersystems.com>
> To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> Sent: Tuesday, February 03, 2004 10:06 AM
> Subject: accessing application.properties from JSP
>
>
> > Hi all,
> > Does anyone know how to access application.resources from a JSP?
> > With best regards
> > Marco
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message