Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

java library for HTML generation


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.
  • 3
1 Solution
what content do u generate??

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now