Extract content from a JSP page to a String in a Java class or Servlet

Asked

Viewed 41 times

2

Good afternoon,

I would like to check if anyone knows how to extract content from 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, to be able to send this HTML content by e-mail through Htmlemail, I thank you from now on the help.

  • Post there what you have already researched, codes you have tried... then it is easier to see which ways you have tried to follow and therefore, easier to help you.

  • Good morning, already researched that I will have to do what I want probably in a Servlet, my biggest difficulty at the moment is to call a Servlet within a java class, because my application is desktop, thank you very much for the return

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.