public class NewUser extends VelocityAction { public void doAdd (RunData data, Context context) throws Exception { // put code here to add the user to the system context.put ("username", username ); data.setMessage("User Added!"); }
public void doPerform(RunData data, Context context) throws Exception { data.setMessage("Button not found!"); } }