Dear friends,

I want to know if we can pass a text area value of great length from jsp to servlet as a url parameter. I have tried it but it sends a null value to the servlet.

Please help me. It's urgent.

Thanks and regards.

Sriprasad Kannan.

Recommended Answers

All 2 Replies

What browser are you using? They have differing specs on how long a URL they can process. I maybe out of date but I believe IE can only take 2048 (or there abouts). Other browsers maybe able to handle longer lengths and the http spec doesn't mention a maximum length.
Also, there simply be an error in your code that is causing the null. Have you removed that as a possiblity?

I'm using Google Chrome but the issue has been resolved now. It seems that I missed out on asingle character which caused the error. Now, it's working properly.

Anyways, Thanks for your reply and help.

Sriprasad Kannan.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.