开发者

Page sections JSP/JSTL

开发者 https://www.devze.com 2023-04-13 08:54 出处:网络
I\'m used to work in PHP. There I would make a Page Class with methods for writing menus headers and footers and call those metho开发者_如何学Cds from my script. This way was able to easily change the

I'm used to work in PHP. There I would make a Page Class with methods for writing menus headers and footers and call those metho开发者_如何学Cds from my script. This way was able to easily change the content of the main menu, editing just the Page Class code.

Now I'm trying JSP and JSTL and I can't find any solution for this problem other than include. Is there a better way to do this?


It seems that jsp:include is the best way to solve this.

0

精彩评论

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

关注公众号