开发者

Sitebricks HTML files

开发者 https://www.devze.com 2023-03-12 03:49 出处:网络
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 file

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

精彩评论

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

关注公众号