Hello,

I need to send the displayed jsp page in an email. My jsp has rows in a table and other good stuff like text, values, icons etc., Any ideas, how I can do that. I am familiar with the java mail, I am not looking for how I do smtp in java.

My first thought is call a servlet and do sops, what I display on jsp page.

Is there any easy way?

Thanks in advance.

Use a filter and write the produced html to both the output stream and to JavaMail.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.