Microsoft
Software
Hardware
Network
Question : How to generate an HTML file if I've got the HTML body?
I have a method to retrieve the html body content. How could I generate a complate HTML file from it? Like adding <body></body>, and <header></header> tags, etc. Suppose I know what header I'm going to add. Thanks.
Answer : How to generate an HTML file if I've got the HTML body?
PrintWriter out = new PrintWriter(new FileWriter("/temp/test.htm
l"));
out.println("<html><head>"
);
out.println("</head><body>
");
out.println(html);
out.println("</body></html
>");
out.close();
Random Solutions
URGENT: Need help with cfhttp file upload...
Thin Client Licensing Error
Shell Api problem
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
2 raid controllers managing the disk array
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
SMTP; 554 5.4.0 Too many Received: headers
Can you load-balance a set of printers in samba?
windows 2003 server can't access internet
CBT for lotus notes 8.5 and sametime 8.5