[
https://issues.apache.org/struts/browse/WW-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42297
]
Wes Wannemacher commented on WW-2213:
-------------------------------------
It appears that resin is using the UnifiedEL, thus it thinks that #{ should be
treated as a UnifiedEL statement.
http://java.sun.com/products/jsp/reference/techart/unifiedEL.html To skip
UnifiedEL and allow OGNL to parse the statement, escape the pound character -
\#{'Jan':'01', 'Feb':'02', 'Mar':'03'}
Tested in resin 3.1.2 and works.
> s:select tag doesn't work under resin 3.1.x
> -------------------------------------------
>
> Key: WW-2213
> URL: https://issues.apache.org/struts/browse/WW-2213
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.9
> Environment: WindowsXP,Window 2000 Server,JDK 1.6.0 update2,resin
> 3.1.x
> Reporter: Kun,Zheng
>
> I use <s:select /> tag and find it doen't work under resin 3.1.x;but it works
> well under tomcat 5.5.x and tomcat 6.0.x.
> The sample from struts-2.0.9\docs\docs\select.html, please try the code below
> under resin 3.1.x:
> <s:select label="Months"
> name="months"
> headerKey="-1" headerValue="Select Month"
> list="#{'01':'Jan', '02':'Feb'}"
> value="selectedMonth"
> required="true"
> />
> it fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.