i have a jsp and need to pass values from that jsp to servlet.
im accessing with request.get Parameter,,...the problem is one of the value or field in the table has a very long value that is 000000000000000000000000000000000000000000000000000..... so its creating nullpointer exception while retriving ...wot to do?
Are you actually trying to pass a value from a JSP page to a servlet, i.e. using Java code? Or is the value in an HTML form in a page that was generated by a JSP page, and you're trying to submit the form to a servlet?
Assuming the latter, the length of the value submitted is irrelevant. By itself it would not cause a NullPointerException. What is returned if -in your servlet- you call ? [ January 11, 2006: Message edited by: Ulf Dittmer ]
Ping & DNS - updated with new look and Ping home screen widget