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
Joined: Jan 31, 2006
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.