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
Are there font conflicts with Snow Leopard and applications built using File Maker Pro?
Teamview Business alternatives
Website slow to load first time, fine subsequent times
Blackberry browser 400 error - socketexception Connection reset
Access Table to Excel Spreadsheet
How do you add multiple filters to Flex / ActionScript 3 arrayCollection?
do you know a function like $notes = nl2br( $_POST['notes'] ); in ASP?
Is SQL Server 2005, 2008 free?
basic quadratic question
Unable to set send-as for Bes Express 5.01 on Exchange 2010