|
|
Posts: 5
[Post New]posted Today 11:10:27 AM
Quote Edit
Struts version 1.2
<%@taglib uri="/WEB-INF/tld/struts-html.tld" prefix="HTML" %>
<HTML:radio property="vo.lookupParameters(searchBy)" value="code"></HTML:radio>
The vo.lookupParameters(searchBy) gets executed via DWR api.
I am trying to migrate a J2EE project from J2EE, JDK5 to JEE5, JDK6. from web-app_2_4 to web-app_2_5 and the jstl is upgraded from javax.servlet.jsp.jstl 1.1.2 to javax.servlet.jsp.jstl 1.2.
When I executed the above line in previous versions, the value vo.lookupParameters(searchBy) comes a String, but once migrated to the newer version, the value is coming in String Object and I am getting the following exception java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
Am I missing something or should I upgrade the dwr version which is currently 1.1.1
|