File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes String array for form entry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "String array for form entry" Watch "String array for form entry" New topic

String array for form entry

Chris Pat
Ranch Hand

Joined: Aug 27, 2005
Posts: 156
I have data (x,y,z) that I want to capture on form entry as a String[3]. I created three html:text elements with the same property. That should "induce" the browser to create my desired String[] and populate. It is not. How can I do it non-primitively as anything more than three separately named input elements? tia.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

Also the code you're trying.

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: String array for form entry
jQuery in Action, 3rd edition