This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Preview the compose message Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Preview the compose message" Watch "Preview the compose message" New topic
Author

Preview the compose message

nandhini sruthi
Greenhorn

Joined: Jan 11, 2008
Posts: 17
Hi,
I am doing sending mail using jsp with servlet,I am getting from,to,cc,ect... from jsp page and pass that values to servlet. my problem is how to preview the compose mail with jsp page before sending mail.please give the solution.

thanks in advance
Mark Newton
Ranch Hand

Joined: Jan 31, 2006
Posts: 129
I would get the from, to, CC, fields from the JSP, and pass them to another JSP page which can preview the message

That JSP would have OK and Back buttons - Back takes you to the previous page, to amend the message; OK passes the details to the servlet, to send the message, just as you are doing now.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8712
Let's slide this over to the Servlets forum..


Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Preview the compose message
 
Similar Threads
jsp wont display until loop has completed
Create a Print Preview using the data set in the rich text editor
Compose Mails using JSP
Call a Servlet from JSP
Servlets, emails and Servlets......