What is WEB-INF used for in a Java EE web application?

后端 未结 5 568
花落未央
花落未央 2020-11-22 10:39

I\'m working on a Java EE web application with the following source code structure:

src/main/java                 &l         


        
5条回答
  •  囚心锁ツ
    2020-11-22 11:04

    There is a convention (not necessary) of placing jsp pages under WEB-INF directory so that they cannot be deep linked or bookmarked to. This way all requests to jsp page must be directed through our application, so that user experience is guaranteed.

提交回复
热议问题