File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes what is the equivalent in JSP - of PHP: send in body of email file.php Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "what is the equivalent in JSP - of PHP: send in body of email file.php" Watch "what is the equivalent in JSP - of PHP: send in body of email file.php" New topic
Author

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

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 311
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

Joined: Nov 08, 2003
Posts: 3158

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

Joined: Jan 31, 2010
Posts: 311
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
 
 
subject: what is the equivalent in JSP - of PHP: send in body of email file.php
 
developer file tools