This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
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 ]