aspose file tools*
The moose likes Servlets and the fly likes parameter name / value length issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "parameter name / value length issue" Watch "parameter name / value length issue" New topic
Author

parameter name / value length issue

Lidia Cyc
Greenhorn

Joined: Aug 05, 2003
Posts: 25
hello,

i do know that there is a length limit of the url (255 chars), so i can't use GET, because i have to pass a high number of parameters, which names are 9 chars long and values are 21 chars long.

i'm wondering if there are any limits on the parameter name/value length, or a total length/size of parameters that can be passed without being truncated by server, or something like this....

i can't find in api that there is any limit, but still, if my app designed the way it needs to pass a lot of parameters with long names (9 chars) and long values (21 chars).

can this cause problems?

if not, is it a good taste to build app that can use POST request only?

thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29247
    
139

Lidia,
It's ok to just use the POST request.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parameter name / value length issue
 
Similar Threads
How to get the name of the html:select in the Next jsp without putting it in session
HELP !! problem with setparameter in entitymanager
Getting list of parameters from POST - JSP
doGet and doPost() difference
file uploading using enctype="MULTIPART/FORM-DATA"