tags:

views:

21

answers:

1

Does anyone have a class which I can run on the server side which will generate the HTML output of an xhtml JSF page that I can then use to email to clients?

+1  A: 

That class already exist in Java SE API: java.net.URL.

InputStream input = new URL("http://localhost/context/page.jsf").openStream();
BalusC