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

Problem retriving large form data (only for remote access)

Status
Not open for further replies.

vinojm13

Programmer
Oct 22, 2002
1
US
Hi ,
I have websphere4.0 on NT ,am facing problem in retriving form post data if variable has large data ( about > 5000 characters) only if I am accessing the machine remotely ,ie I am using some other machine to test than the machine where websphere 4.0 is running.
Example : In a textarea if we enter large amount of data (about > 5000 characters ), on the submit page we are unable to retrive the data using
request.getParameter("textarea_name"),it returns junk characters , some times its throws llegalArgumentException .


CODE SAMPLE:
one.jsp:
<form name=&quot;form1&quot; method=&quot;post&quot; action=&quot;two.jsp&quot; >
<textarea rows=&quot;4&quot; name=&quot;textarea_data&quot; cols=&quot;35&quot; wrap></textarea>
<input type=submit name=&quot;submit&quot; >
</form>

two.jsp:
out.println(&quot;data:&quot;+request.getParameter(&quot;textarea_data&quot;));

This behaviour occurs randomly .
Kindly provide some solution or reason
Thanks & Regards
Vinoj Mathew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top