JVM Languages
webapp.txt
Associated article: Web Applications as Java Servlets
Tags: Web Development JVM Languages
Published source code accompanying the article by Brad Cox in which he describes an approach to building web-based applications that exploit Java's type-checking ability to validate field parameters and detect invalid links between pages. Also see WEBAPP.ZIP.
Web Applications as Java Servlets
by Brad Cox
Listing One
package com.sdi.field;
import gnu.regexp.*;
public class Zipcode extends Field implements Validatable
{
private final static RE re = re("d{5}([ -_]?d{4})?");
private final static String msg = &...


