Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to change JSP to Freemarker in VRaptor.
@Component
public class FreemarkerPathResolver extends DefaultPathResolver {
//delegate constructor
@Override
protected String getPrefix() {
return "/WEB-INF/freemarker/";
}
@Override
protected String getExtension() {
return "ftl";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment