This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Parameter value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Parameter value" Watch "Parameter value" New topic

Parameter value

Mandy S Smith

Joined: Jan 20, 2002
Posts: 24
Is there a limit on the parameter value passed to a servlet?
I am passing a very long value into one of the parameter which is accessed by a servlet. This long string value is causing "connection lost" problem. It gives some kind of message like connection lost or sometimes it displays with Page cannot be displayed(IE browser message). But if i break down this string into small string then it works fine.
Could anyone please help me understand what the problem is.
Appreciate your help.
Thank you!
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
You don't say which METHOD this parameter is passed with. GET or POST?
GET (the only method available using query strings in URLs) have size limitations depending on the server.
Method POST doesn't have a limit (theoretically).

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: Parameter value
Similar Threads
Direct Database Access!
how to pass parameter from dispatchto javascript
Regarding Russian character in servlet
Connection time out in applets
difficulties implementing tomcat datasource