Extract the contents of a JSP page to a String in a servlet or Java class

2

Good afternoon,

I would like to check if anyone knows how to extract the contents of a JSP page to a String. Example:

I have a JSP page with HTML content, I want to pass this HTML content to a String in the Java language, so I can send this HTML content via email through HtmlEmail, thanks in advance for help.

    
asked by anonymous 12.03.2018 / 19:47

0 answers