jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Preview the compose message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Preview the compose message" Watch "Preview the compose message" New topic

Preview the compose message

nandhini sruthi

Joined: Jan 11, 2008
Posts: 17
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

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

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link: http://aspose.com/file-tools
subject: Preview the compose message
It's not a secret anymore!