File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: string array property is resetted to length 1.