wood burning stoves 2.0*
The moose likes Servlets and the fly likes Help urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Help urgent" Watch "Help urgent" New topic
Author

Help urgent

Rishi Yagnik
Ranch Hand

Joined: Jan 04, 2001
Posts: 84
Hi friends
I am new to JSP
can somebody tell me how can i send a mail in JSP infact In ASP CDONTS Object is there for sending a mail wht is there in JSP?
can i use Java mail API for the same?
Rishi
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
You can use any Java package you want in JSP, but instead of doing everything inside a single JSP page, it is a good idea to use a separate Bean - much easier to debug and test.
Bill

------------------
author of:
vikinsa
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
Yes you can very well use java mail API with all of its features in JSP.

Originally posted by rishi, yagnik:
Hi friends
I am new to JSP
can somebody tell me how can i send a mail in JSP infact In ASP CDONTS Object is there for sending a mail wht is there in JSP?
can i use Java mail API for the same?
Rishi


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Help urgent
 
Similar Threads
com.oreilly.servlet MultipartRequest weirdness
Automatic Mail sending Process...
jsp related
Java Mail API & JSP
E-mailing functionality in Java