Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spring MVC two dimensional array not bound to command on WebSphere

Status
Not open for further replies.

PeterHsu

Programmer
Jan 30, 2012
1
CA
Hi

We are using Spring MVC in our application. In our web page, there are a series of hidden input as such:

<input type="hidden" value="true" name="isEntryChecked[0][3]">
<input type="hidden" value="true" name="isEntryChecked[1][2]">
<input type="hidden" value="true" name="isEntryChecked[2][0]">

When our application is deployed in Tomcat, a two dimensional boolean array would be constructed in the command.isEntryChecked field. However, when the application is deployed in WebSphere, I got a null value in this field.

What would be the problem of why this array can't be parsed in websphere?
How should I create such two dimensional array?

thanks

Peter
 
Your problem is more than likely the result of differences in the version of Java between Tomcat and WebSphere and/or some classpath issues. This is only using the web container which is pretty basic in the app server world.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top