I have the packages, but I am not sure how to use it. Do I just use them as I would .jsp files?
I have tried something like this:
test.hbs
<p>{{message}}</p>
in my controller:
private static class M {
    private final String message;
    public M(String message) {
        this.message = message;
    }
    public String getMessage() {
        return message;
    }
}
@RequestMapping("/test")
public ModelAndView testView() {
    ModelAndView mav = new ModelAndView("test.hbs");
    M m = new M("Hello, world!");
    mav.addObject("m", m);
    return mav;
}
I am getting the error: javax.servlet.ServletException: Could not resolve view with name 'test.hbs' in servlet with name 'dispatcher'
I have put test.hbs normally in /WEB-INF/views/test.hbs. If I put any .jsp file there, it works. But from some reason .hbs doesnt work. Any ideas?
 
    