This was exactly what I was looking for although I
don't quite understand how it works.

Doesn't <bean:message../> write the value to the jsp
writer?


--- James Mitchell <[EMAIL PROTECTED]> wrote:
> Yes, you could do something like this:
> 
> <bean:define id="licen">
> <bean:message key="license.name"/>
> </bean:define>
> 
> <bean:message key="license.text" arg0="<%=licen%>"/>
> 
> 
> 
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakarta.apache.org/struts/
> 
> "People demand freedom of speech to make up for the
> freedom of thought
> which they avoid."
>     - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -----Original Message-----
> > From: harish krishnaswamy
> [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, March 03, 2003 1:23 AM
> > To: Struts Users Mailing List
> > Subject: [HK] Resource substitution
> > 
> > 
> > Is it possible to sustitute one message resource
> in
> > another message resource from a .jsp page? For ex.
> 
> > 
> > license.name=LICENSOR
> > license.text=Copyright (c) 2003 {0}
> > 
> > In the above example, can I sustitute license.name
> in
> > license.text for {0} in a .jsp page?
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> > 
> >
>
---------------------------------------------------------------------
> > 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]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to