I have a hidden property in my JSP. This is the string array property in the action form of the struts.Before loading this JSP I am initializing this property. I am calling one java script function on page load.But in this java script the length of this property is coming as 1.It was resetted to 1. I am sure I am not reinitialinzing the string array to 1 after initializing it in the action class.After submitting the JSP also I am getting the length as 1.
Is there any way to regain the length of the string array property as how I am initializing in the action class..?
posted 9 years ago
You description does not make sense without some code.