You can use a work around way...

take a look at: java.util.Properties

Properties p = new Properties().load(InputStream inStream);

/* The InputStream will be your ApplicationResources properties file.
than you just need to get the properties you need... */
p.get("my.property")

Tiago Henrique C. R. Alves
Analista de Sistemas
Politec - CSS
Tel: 441-7014


-----Mensagem original-----
De: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 22 de janeiro de 2004 10:24
Para: [EMAIL PROTECTED]
Assunto: How to retreive ApplicationResources properties ?


Hi, 
i wonder to kno if its possible to access the ApplicationResources properties on 
another way than using  a bean like :
<bean:message key="my.property"/>

A generate a part of code in a JSP class. and this code has to use some properties 
available in ApplicationResources.
If i use <bean:message key="my.property"/> then this one is no interpreted by struts 
and in the client side i retrieve '<bean:message key="my.property"/>' in the source 
code instead of the value of my.property.

I don't if it's possible to use something like getProperty("my.property") ?

Thank's

Marc

--
Marc AMIR-TAHMASSEB
[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]

Reply via email to