jochen777 / jWebForm

Java WebForm Library: HTML Form generation and validation
MIT License
17 stars 2 forks source link
form html java spring-boot

jWebForm

HTML forms in Java made easy. Independent of Web-Frameworks.

Quickstart

Documentation

Changelog

Build Status

Overview

With jWebform you can define HTML forms in a clean way, fill them with request-variables, validate and build HTML out of them. It gets you away from the tedious work around form handling in HTML projects. It is framework agnostic, so it should work with every Java/Kotlin... Webframework around.

Form-handling support in current Java MVC frameworks is often basic. jWebForm tries to fill this gap by providing these features:

More here: Overview Features

jWebForm is for java what Symfony-Forms is for PHP or Rose::HTML for Perl.

Example project (Spring-Web MVC):

https://github.com/jochen777/jWebFormSpringBoot2Thymeleaf

When to use it

jWebForm can be used everywhere you have to implement HTML or Ajax HTML-Forms. Especially useful:

Maven Dependency

...
<dependency>
    <groupId>de.cyclon-softworx</groupId>
    <artifactId>jWebForm</artifactId>
    <version>0.0.15</version> <!-- check on maven central for the latest version -->
</dependency>
...

A note about jFormchecker

What about jFormChecker? After a few months in production, I realised some points to improve and wanted to change the name, so I just rewrote it. jWebForm is jFormchecker2.

Improvements over jFormchecker

Documentation

Documentation

Requirements

Java 8 required.

Thanks

Thanks to Arman Sharif for his work on jreform.sourceforge.net and the great Critera Classes