This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes string array property is resetted to length 1. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "string array property is resetted to length 1." Watch "string array property is resetted to length 1." New topic
Author

string array property is resetted to length 1.

suresh sai
Ranch Hand

Joined: Jul 16, 2007
Posts: 62
Hi all.,

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..?

Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You description does not make sense without some code.

Eric
 
jQuery in Action, 2nd edition
 
subject: string array property is resetted to length 1.
 
Similar Threads
dynamic beans
Retrieving values
struts and multibox
Onclick in struts.
Multiplue lines in soap message