File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help urgent

 
Rishi Yagnik
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic