One of the choices is, before submit your form to a servlets, to put
everything you want in a hidden field by using Javascript.
Larry
----- Original Message -----
From: "Stefan Cristoloveanu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 8:17 PM
Subject: Problem reading checkbox
> Hi !
>
> I'm trying to make a servlet that would read any form
> and send in e-mail the entered values.
> Since it must read any form, I don't know the names of the fields
> in the form. So I have to use the getParamerNames() and
> getParameterValues methods.
> But if there is a checkbox or a radio button field which were not
> selected, the getParameterNames method will not find these fields (I think
> it doesn't take the fields with null values). The problem is I need to
> have the names of all fields in the form, even if the values are null.
> Does anyone know how to solve that problem?
>
> Thanks,
> Stefan
>
>
___________________________________________________________________________
> 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