Venkata,
You could take a look at the CoolServlets mailform servlet (CSMailForm)
as an example (full source is available). Check out
http://www.coolservlets.com
-Matt
venkata p suresh wrote:
>
> Dear Friends,
> I have a doubt.I have written a servlet which will put a question as follows:
>
> Servlets are hot
> .yes
> .no
> .undecided
>
> SUBMIT
> The above question is loaded when i execute it from the browser.After the user
>submits(let us say ,he says yes),the servlet loads the following into browser:
>
> Servlets are hot
> 1 yes
> 0 no
> 0 undecided
>
> Now,i want to e-mail this data
> How can i do that from my servlet
> Thanking u all in advance,
> P.V.SURESH
>
> What are you N2? Choose from 150 free e-mail addresses.
> http://www.n2mail.com
>
> ___________________________________________________________________________
> 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
--
-------------------------------
Matt Tucker
[EMAIL PROTECTED]
http://cs.uiowa.edu/~matucker
See CoolServlets:
http://www.coolservlets.com
-------------------------------
___________________________________________________________________________
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