I'm pretty sure that the property tag is a better candidate in order
to evaluate OGNL expressions like this.
Try this
<a href="<s:property value="#application['...']"/>">Test</a>


2011/1/11 Rubens Gomes <rub...@pocketgear.com>:
> I am using the <s:a ...> tags in my JSP pages.  And I am using <s:url..> to 
> define URLs for the <s:a href="" />.  I have recently made some changes to 
> place the URLs <s:url.../> variables on the application scope (so that they 
> can be shared by all requests/threads).   Since I made this change I need to 
> change the href in <s:a.../> to point to an application scoped variable 
> instead.  Is there any way to do that?
>
> I already tried:  <s:a href="%{#application.var}"...>, and as far as I know 
> it does not work.
>
> Thanks,
>
> Rubens.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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

Reply via email to