I am not sure how you are adding the values to an email, but doPost surely
is not the way to do it. (doPost does not equal post a letter)
doPost and doGet are two ways a form is submitted to a servlet. doGet uses
the URL to transfer the info and doPost does it without using the URL. The
best way to "combine" both is to pass to doPost method the parameters that
you get in doGet and implement the required functionality in the doPost
method.
Kini
----- Original Message -----
From: "Lambert, Stephen : CO IR" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 02, 2000 3:55 PM
Subject: One servlet, 2 methods doGet and doPost combined.
> How does one pass values from a doGet(select) and then email those values
> from a doPost method.
>
> I can successfully split the methods into separate servlets and they
> individually run fine.
> But, I'm not sure how to combine the to methods. i.e. store 200 values and
> then reference all 200 values into the message body of an email.
>
> If someone could point to an example, I would be greatly appreciative!
>
>
> Thanks,
>
>
___________________________________________________________________________
> 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