By using Servlet, you can simplify HTML generation by creating a HTML class. Go to: http://www.wrox.com/Books/Book_down.asp?sub_section=1&isbn=1861002777&subject=Java&subject_id=13
download the "Chapter 2 source code", you will see a very good example.
Originally posted by timothy zimmerman:
Keep in mind when I ask this that I am just a greenhorn but would make sense to possibly use a jsp and tags? Maybe I am overusing them because I have just started getting in to them but I find them much more flexible than servlets when generating pages with a lot of information.
Originally posted by Rafael Rangel:
output.println( "<html> . . . large html code with some java script . . .</html>" );