> -----Original Message-----
> From: John Muhlestein [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 4:07 PM
> To: '[EMAIL PROTECTED]'
> Subject: syntax question regarding <html:link>
> 
> I want to make a hyperlink which references a value in my
> ApplicationResource file.  
> Is this the proper syntax?
> Is there a better way?
> 
> <html:link href="<bean:message key='other.site.url' />">Other
> URL</html:link>

It might be better to put URLs in your "struts-config.xml" file, and display
properties in your properties file.  You could achieve this by defining a
global forward for your URL and then doing this instead:

  <html:link forward="other.site">Other URL</html:link>

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

Reply via email to