Downloads

HtmlForms

During a period when I didn't have a lot to do at work, I decided to write a package that would help me to keep my HTML separate from my code in my servlets and JavaServer pages. This package evolved into something that would let me introduce any HTML form element programmatically. This is now com.raj.htmlForms.

To be honest, I can't see many of these classes ever being used, but they are a nice example of object-oriented programming with Java and I have found some of them very useful when generating dynamically generated form elements such as groups of checkboxes/radiobuttons or drop-down boxes, since these can be populated with a Java Map.

The source code is included in the src/ directory of the archige (just unzip the file with any zip utility to see it)

Download

Top of pageTop of page