I must use ${} to evaluete expression either in .properties, struts.xml, java
strings - everywhere, but not in JSP. In JSPs I must use %{}. Damn.
Inconsistency.

Is there any workaround to use ${} instead of %{} in JSPs?

And more: 
  <s:url action="hello">
    <s:param name="name" value="'Struts2'"/>
  </s:url>

note ' (apostrophes) around the Struts2 word. So "value" attr supposes to
contain expression. But values of "action" and "name" attrs are just the
strings.

It would be nice to suppose every attr value is a string and using %{} we
can evaluate exp.
-- 
View this message in context: 
http://www.nabble.com/-%7B%7D-confuses-me-tp25526882p25526882.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to