Hi,

You may be rusty, but you are correct about the limitations.  I am not sure
if this is the problem, but I know that some servers limit GET requests to
240 characters.  I believe POST requests are virtually unlimited (megabytes
allowed).  Also, if I remember correctly, POSTs cannot be bookmarked or
e-mailed making them safer for passing sensitive information such as credit
card numbers, etc.

Good luck!


----- Original Message -----
From: Mark Foley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 10, 2000 9:38 PM
Subject: Re: getParameters


> HI there,
> risking scorn from those who really know -
>
> Could it be that yous have hit some sort of string length for the URL when
> sending the parameters from the browser to the server?  From what I
> remember, the GET method has limitations which the POST method doesn't.
> Since I work a bit further back from the browser interface, my HTML/HTTP
is
> a little rusty.
>
> Regards
> Mark
>
> > -----Original Message-----
> > From: Darko [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, 11 February 2000 8:12
> > To:   [EMAIL PROTECTED]
> > Subject:      getParameters
> >
> > Hello,
> >
> > How do I retrieve all the parameter names and/or values at once from an
> > html page ?
> > I have around 100 paramaters on my html page and when I call a servlet
> > to process them, I use  following code to retrieve parameter names
> >
> > Enumeration enum = req.getParameterNames();
> >    while (enum.hasMoreElements()) {
> >   String name = (String) enum.nextElement();
> >   out.println("name = "+i+" "+name);
> >   i++;
> >   out.println();
> >
> > But I get only about 30 parameter names, I dont know what happened with
> > the rest.
> >
> > Thanx for your help.
> >
> > Regards,
> > Darko
> >
> >
__________________________________________________________________________
> > _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to