I have several xhtml pages that render fine on the web site. From the code I could like to save the HTML versions of these files to the hard drive. For example, I tried to get welcome.xhtml
@In Renderer renderer
....
String html - renderer.render(/welcome.xhtml
);
I don't get an error, but the html variable is also empty.
Is there any way to do this?
A
Actually the above code does work. It didn't work when I ran tests, but it works on the website.