开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜