Get the size of the enum and print it, just to make sure it contains more
than 30 elements

Thanks / Vaish


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Ernie
V
Sent: Friday, February 11, 2000 7:57 PM
To: [EMAIL PROTECTED]
Subject: Re: getParameters


Most popular browsers (IE and Navigator) support up to 2K bytes in the query
string.

-ernie

Henning Brune wrote:

> probably the problem is not in the java code. check your html from code
first:
>
> does the form use the GET or the POST method ? With GET you can only
> send about 250 bytes in one request (appended to the URL with ?....).
>
> You should use POST with so many parameters.
>
> -henning
>
> Darko wrote:
>
> > 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

Reply via email to