This is Regarding JSP with javamail
I am using javamail api in my project. So, for this i wrote one method with some return value. i am calling that method in jsp page at clicking on esclate button in page.
So, the flow is just like this:
getting some values with one no.
If i click this no it will go to some other jsp with mail format like tomail, ccmail ,frommail. If i click on esclate button, the control will goto same previous page with some message.
Please provide me suggestions.
Regarding JSP with Javamail
in my application, i need to send a mail while i click "Escalate" button.For this i wrote java mail class ie EmailUtil.java to implement sendMessage() method.
I will call this method in one jsp called wrEscCan.jsp.
Simply flow is like this:
wrStatusFind.jsp(In this we will give wr(workrequest no))
wrStatus.jsp(getting all the related values to wr)
wrEscCan.jsp (to escalate a mail to TO,CC,FROM text boxes just like our yahoo mail )
After click on Escalate button in wrEscCan.jsp, it should to goto wrStatus.jsp(getting all the related values to wr) i.e. previous page with success message or failure message as well as send a mail.
Please give me some suggestion along with code.
Thx a in advance.