Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Help urgent  RSS feed

 
Ranch Hand
Posts: 84
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • 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:
 
Ranch Hand
Posts: 46
  • 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
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!