Write HTML file using Java

前端 未结 10 907
我寻月下人不归
我寻月下人不归 2020-11-28 23:55

I want my Java application to write HTML code in a file. Right now, I am hard coding HTML tags using java.io.BufferedWriter class. For Example:

BufferedWrite         


        
10条回答
  •  一整个雨季
    2020-11-29 00:24

    Velocity is a good candidate for writing this kind of stuff.
    It allows you to keep your html and data-generation code as separated as possible.

提交回复
热议问题