Skip to content
Advertisement

Automatically generate HTML pages in Java

I am developing a Java desktop application. I have a need to create HTML pages through my application. When the user clicks on View in Browser button a HTML page should be created with some details and shown it to the user.

Is there a way I can do this? Is there are any resources I can use in this situation?

Any suggestions are warmly welcome.

Advertisement

Answer

JavaScript

Result on this PC

enter image description here

Advertisement