Overview


JFinal uses FreeMarker as View by default. In order to enable eclipse jee to correctly identify html, ".html" is used by default as the extension of the FreeMarker view file (originally ".ftl").

If you need to use JSP as the default view, you need to configure it in the configConstant(Constants me) method, see the following configuration:

public void configConstant(Constants me) { me.setDevMode( true); me.setViewType(ViewType.JSP);
}