This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the equivalent in JSP - of PHP: send in body of email file.php  RSS feed

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PHP CODE:



what is the equivalent in JSP?
IF OUR FILE FULL OF PARAM IS confirmBookingPlacedNowEmail.jsp? like <%= %>, we suppose that script called this file[confirmBookingPlacedNowEmail.php] like in php, has all param initialized IN so the jsp takes them?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry but I'm not following you,
Do you want to send emails via Java?
If yes, then you have to check JavaMail API
http://java.sun.com/products/javamail/
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes but send rather text/tag content, a whole predefined page.jsp (not attached but in body of message), may do it in java/jsp? in php yes...for a page.php
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!