问答详情
源自:1-7 WEB-INF目录详解

为什么我可以访问在WEB_INF中的html文件呢

按照老师的步骤,发现在WEB_INF中的html文件仍能被访问

提问者:qq_清明_3 2019-05-16 00:03

个回答

  • weixin_慕村3424678
    2019-07-22 16:27:29

    http://localhost:8080/myweb/WEB-INF/test.html

    肯定是不能访问到的。

    HTTP Status 404 -

    type Status report

    message

    description The requested resource is not available.


    Apache Tomcat/8.0.47


  • 慕九州1146298
    2019-05-17 22:39:50

    转发?

  • qq_清明_3
    2019-05-16 00:06:05

    文件夹名称为WEB-INF