Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preview the compose message

 
nandhini sruthi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's slide this over to the Servlets forum..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic