Created
November 23, 2010 02:18
-
-
Save lucascs/711125 to your computer and use it in GitHub Desktop.
How to change JSP to Freemarker in VRaptor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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