File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
parameter name / value length issue
Joined: Aug 05, 2003
May 29, 2004 01:37:00
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?
author & internet detective
Joined: May 26, 2003
May 29, 2004 13:34:00
It's ok to just use the POST request.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: parameter name / value length issue
HELP !! problem with setparameter in entitymanager
Getting list of parameters from POST - JSP
How to get the name of the html:select in the Next jsp without putting it in session
doGet and doPost() difference
file uploading using enctype="MULTIPART/FORM-DATA"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015