that's only a problem for defining maps in ognl, which used the "#{a:b}" syntax, which made the jstl el complain. The solution is just to use the alternative map syntax:
#...@java.util.linkedhashmap@{ "foo" : "foo value", "bar" : "bar value" } http://www.opensymphony.com/ognl/html/LanguageGuide/collectionConstruction.html#mapConstruction On Tue, Oct 13, 2009 at 12:27 PM, Dale Newfield <d...@newfield.org> wrote: > Alex Siman wrote: >>>> >>>> I switched off the JSTL-EL (as it was recomended in Struts2 wiki) >>> >>> Can you please point me to that? Seems quite strange to me... >> >> Read the section "JSP 2.1" here: >> http://struts.apache.org/2.1.8/docs/ognl.html > > That was added by Ted Husted on 3/23/2007. > > What are the problems that this addresses? It seems that the cure is worse > than the disease of having to escape a few #'s here and there (none in my > codebase), especially after we've since restricted all the struts tags with > rtexprvalue=false... > > -Dale > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org