HTML code in program

Posts 12 of 2 · Page 1 of 1
HTML code in program
Hi,

I'm actually writing in java, so please move mods if in wrong section.
I need help with a program I'm writing. What it does is read all text files from a directory, and for each txt file, output a corresponding HTML file with a nicely organized table.
The problem I'm having is that since all the html files would be similar, I need a common header. Is there a way to output to file html code without having to do something like

output.println("<html>");
output.println("<header>");
output.println("<title>title</title>");


etc...?
thanks
1 hour redirect to here, it's in the java section now.
Posts 12 of 2 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?