HashMap<String, AbstractAction> am = getActionMap(ctx);
AbstractAction action = am.get(actionStr);
if (action == null) {
msg = "Action " + actionStr + " unknown!";
} else {
AbstractResult result = action.execute(req);
// if everything was okay
// send reload (retaining get parameters)
if (result.wasSuccessful()) {
String parameters = GetRequest.reconstructParameters(req, "&");