You just need to map each action to a class rather then a function, and then provide an external file that maps action names to action classes.Are actions derived from servlets, or are they some other type of class? I suppose they wouldn't each be just a function, because then they wouldn't be entirely orthogonal with the servlets (screens? pages?)
Actions are drived from action classes that returns an ActionForward mapping that is setup via a call to something like mapping.findFormward('login') which would read the xml file.
But first it has to pass a subclass of the ActionForm class that returns an error hash if there was an error or nothing if it passses basic (you filled in the blank) validation.
-Aaron
