Hi Karthikeyan,
I think your problem is that in the form tag you are giving something like
this.
<form action= ... enctype="text/html" or something.
The encoding tag is optional, To send the text to a database or by email you
can
send the values as they are.
To my knowledge there are two possible options one is
application/x-www-form-urlencoded and the other is multipart/form-data. The
first
one is the default and the second is used only for uploading files etc.
So my guess is that the browser is ignoring the form completely.
Nagaraj.
Hi Everybody,
I've developed a servlet which saves the contents of a customer feedback
html form to a Access database as well as sends the parameters and its
values as an email.The problem is that the enctype attribute of the Feedback
html form has been set to "text/plain".So I am not getting anyerrors when I
use the servlet to read the Parameters of the form and store its contents in
the database.But since the form has been encoded ,the respective fields in
the database are blank and when I try sending these form parameters and
values as email through the servlet - neither the parameters nor its values
are visible.So how can I modify my servlet to decode the Request before
storing the request parameter values in the database and before sending them
as an email, so that the contents of the form are visible when they are
stored in the database and sent as an email.
Help from your side would be really appreciated.
Thanx in advance
Karthikeyan A.R
___________________________________________________________________________
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