• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web page as attachment

 
mike mimmis
Ranch Hand
Posts: 57
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,

I am developing an web application using servlets and jsp. database is mysql.

Data coming to webpages from mysql database which is displaying in jsp pages. I have configured java mail system to send mail to clients who are registered my application.

Now I need to send the webpage to client as it is through email. i.e in one page user views his profile and want to share his profile with his friend(that current watching webpage) . How it is achieved. any help...

Thanks in advance....
 
Mohan rvscas
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,

You can set the content type in jsp page for download the jsp page as html.

After downloading the page use mail attachment and do your process.

Use the following code to download the jsp page.
 
mike mimmis
Ranch Hand
Posts: 57
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mohan rvscas ,

It helped me a lot. Thanks for reply.. Now its working

Thanks & Regards,

Mike...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic