Well i have got my task completed which was required but eager to hear if there are any better solutions to my task,... here it goes:
I have a JSP page in my app, which has a link to another JSP (pop-up window) which is used to gather information like TO, CC,... Subject, text etc .. from the user.. and then used to send Email.. The main task here is by default an attachment is included which is actually the JSP that is displayed on the parent screen...
For the purpose of completion,... I just put the JSP page as a String and do the following:
I know String part is not the best way,.. but i didn't get any other idea... Your help/ideas on this issue is greatly appreciated.. Thanks
PS: The String that is returned by the POJO class is something like this:
[ May 01, 2007: Message edited by: Bear Bibeault ]