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="form1" method="post" action="two.jsp" >
<textarea rows="4" name="textarea_data" cols="35" wrap></textarea>
<input type=submit name="submit" >
</form>
two.jsp:
out.println("data:"+request.getParameter("textarea_data");
This behaviour occurs randomly .
Kindly provide some solution or reason
Thanks & Regards
Vinoj Mathew
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="form1" method="post" action="two.jsp" >
<textarea rows="4" name="textarea_data" cols="35" wrap></textarea>
<input type=submit name="submit" >
</form>
two.jsp:
out.println("data:"+request.getParameter("textarea_data");
This behaviour occurs randomly .
Kindly provide some solution or reason
Thanks & Regards
Vinoj Mathew