How to properly put JSPs in the WEB-INF folder?

前端 未结 4 1012
一生所求
一生所求 2020-12-05 05:37

My question is how to put all the JSP files in WEB-INF/JSP/ in the proper manner?

Is there any configuration for this as the structure I\'m aware of is:

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 06:20

    You create a jsp page out side WEB-INF folder and inside that jsp use jsp:forward as

    In web.xml file use give outside jsp name in welcome file list.

    It works for me...

提交回复
热议问题