java library for HTML generation

Posted on 2004-05-02
Last Modified: 2011-09-20

I have a scenario where my java application needs to generate some output in HTML.
i started with generating HTML source by appending HTML stings to a very long StringBuffer.
this works, but is very ugly, and even now i am not sure whether someone will be able to understand this code.

It seems logical that someone has already created some kind of library for HTML generation in java (like the great libs for xml parsing and generation).

does anyone know such library, or has different solution?

Thanks, Ofer.
Question by:tzvika179
  • 3

Accepted Solution

maheshexp earned 500 total points
ID: 10970744

Expert Comment

ID: 10970750

Expert Comment

ID: 10970753
what content do u generate??

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 3 50
Printing to a specific printer tray (HP 806dn printer) 3 83
Unexpected HttpURLConnection connection behavior 2 85
stackato and cloud 4 69
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now