开发者

Merging JavaScript code into the <head> with sitemesh and jsp's

I'm using sitemesh to decorate my web pages. Can someone guide me on the best practice. The header.jsp and sidebar.jsp have JavaScript code dependencies and I would like to merge 开发者_如何学Pythonthese into the head along with the main page which is being decorated.

Basically I want to decorate both the HTML and the <head>.


If the code in healder.jsp is between <head></head>, sitemesh will, by default, append it into the <head></head> of the main decorator.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜