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.
#{} won’t be working in the future , see
http://java.sun.com/products/jsp/reference/techart/unifiedEL.html
use the alternative OGNL map syntax:
list=”#@java.util.HashMap@{‘Jan’:’01’, ‘Feb’:’02’, ‘Mar’:’03’}”
所有tag里面自定义的list都要新的方式,要不resin新版就显示不了的了