Skip to content

Instantly share code, notes, and snippets.

@lucascs
Created November 23, 2010 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucascs/711125 to your computer and use it in GitHub Desktop.
Save lucascs/711125 to your computer and use it in GitHub Desktop.
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