31323334353637
public static final String VM_ERROR_FILE = "mojavemvc-internal-vm-error-file"; public View handleError(Throwable e, AppProperties properties) { String errorFile = (String)properties.getProperty(VM_ERROR_FILE); return new VM(errorFile); }
27282930313233
public class VMController { @Action("basic/:val") public VM basic(@Param("val") String val) { return new VM("basic.vm").withAttribute("val", val); }