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