开发者

where .jsp files put in web project

I have an issue where to put view (.jsp) file in the web applications.littl开发者_Python百科e bit confuse it may be inside the WEB-INF folder or out side the WEB-INF folder.

Lot of spring projects view(.jsp) files are stored inside the WEB-INF folder by creating sub folders.

I saw lot of sample spring projects it includes .jsp files inside the WEB-INF folder. So What is the best practice for my question

Amila


If your application is servlet centric then you may add .jsp file under WEB-INF and request them via RequestDispatcher. If it is not then put .jsp outside the WEB-INF.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜