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

后端 未结 5 553
花落未央
花落未央 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 10:55

    This convention is followed for security reasons. For example if unauthorized person is allowed to access root JSP file directly from URL then they can navigate through whole application without any authentication and they can access all the secured data.

提交回复
热议问题