don't know of any, since I never really had to do anything like this, but, worst case scnenario: you can write a class that creates a .html file and writes all the code in it. it's not different from writing a txt file, you'll just have to be more cautious about the special characters.
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
^ that's right. I've done quite a lot of that to provide remote interfaces to what would otherwize be just local Swing applications. You can simply write an HTML file like you would write any other text file, taking care with Java escape chars.
What's a bit more interesting is how are you going to get that HTML served up - you;ll be working with some kind of web server, or you can do it all in native Java with a Socket listening for and responding to HTML requests (Java SE) or use the inbuilt classes in Java EE.
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073