Sitebricks HTML files
HTML files in Sitebricks need to have same name as Models and they should exist in WEB-INF or in the same directory as models. Just wo开发者_高级运维ndering is there a way to better organise HTML files. For example keeping them in separate folders? Currently if I do that I get an error saying *.html not found.
You can use the @Show
annotation to indicate the location of the template file that goes with a page class.
SessionManagement relied on Guice.
You can use the @SessionScoped annotation or the configuration way
bind(Interface.class).to(Implementation.class).in(SessionScope.class)
精彩评论