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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Submit

Status
Not open for further replies.

Hattusas

Programmer
Nov 11, 2001
344
TR
In my web application I have a form ( a little bit large)...
365 rows that represents the days of a year .
Each row has 4 input fields and a hidden field.
When I submit its data,it sends an exception in my servlet's doPost method,
The fields are named numerically
for example TxtDay1,TxtDay2,.....,TxtDay365.

At the end of the form I have a submit button...

When I analyze it,I noticed that after 40 steps request.getParameter("Txt40") returns null.

I don't want to divide my form into smaller forms.I want to perform the operations in one step.

Any suggestions?
I wonder if there is a limit in size of a form,or capacity limit in my application server (websphere) Salih Sipahi
Software Engineer.
City of Istanbul Turkey
ssipahi@yonbilgi.com
 
Well, one possibility, if your users won't be entering comma's into the text fields, is to name all of the like-fields the same thing. Then you will receive 5 comma delimited strings with all of your informaiton in it. Then all you have to do is parse out those strings and you have all of your information.

-Tarwn ________________________________________________________________________________
Want to get great answers to your Tek-Tips questions? Have a look at faq333-2924
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top