Form processing

Reminder: these apps run only on Tomcat 7 or other servers that support servlets 3.0 and later. The course Web site has an alternative version of this project that runs on Tomcat 6 and other servers that support servlets 2.4 or 2.5.

Links

- get-form.html Sample form that uses GET.
- post-form.html Sample form that uses POST.
- show-parameters-get-form.html Form that uses GET to access the ShowParameters servlet.
- show-parameters-post-form.html Form that uses POST to access the ShowParameters servlet.
- three-params-form.html Form that sends data to the ThreeParams servlet.
- submit-resume.html Form that sends data to the ShowResumePreview servlet.
- code-form-1.html Form that sends data to the CodePreviewBad servlet. Fails to escape HTML characters.
- code-form-2.html Form that sends data to the CodePreviewGood servlet. Escapes HTML characters.

All code from the coreservlets.com J2EE tutorials (servlets, JSP, Struts, JSF 1.x, JSF 2.0, Ajax [with jQuery, Prototype, Scriptaculous, Dojo, Ext-JS, and Google Closure], GWT 2.0, Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, & Java 6 programming). There are also live instructor-led training courses on the same J2EE topics (servlets, JSP, Struts, JSF 1.x, JSF 2.0, Ajax [with jQuery, Prototype, Scriptaculous, Dojo, Ext-JS, and Google Closure], GWT 2.0, Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, & Java 6 programming).