<s:iterator value="myListFunction" status="status">
<s:div id="divId%{#status.count}/>
</s:iterator>
Wednesday, 4 December 2013
Struts dynamic HTML ID
New Struts 2.3 jar files and filter
The jar files
1. commons-logging-1.1.3.jar
2. freemarker-2.3.19.jar
3. ognl-3.0.6.jar
4. struts2-core-2.3.15.1.jar
5. xwork-core-2.3.15.1.jar
New filter in deployment descriptor:
1. commons-logging-1.1.3.jar
2. freemarker-2.3.19.jar
3. ognl-3.0.6.jar
4. struts2-core-2.3.15.1.jar
5. xwork-core-2.3.15.1.jar
New filter in deployment descriptor:
<filter>
<filter-name>struts2</filter-name>
<filter-class> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
Subscribe to:
Posts (Atom)