If the "webapp" web application is deployed on the servlet container, how can we open the JSP page /webapp/WEB-INF/jsp/index.jsp from the browser?(Choose an appropriate URL) 
A. http://host:port/webapp/ 
B. http://host:port/webapp/index.jsp 
C. http://host:port/webapp/jsp/index.jsp 
D. http://host:port/webapp/WEB-INF/jsp/index.jsp 
E. The page can not be opened directly from the browser.

解决方案 »

  1.   

    是E:   WEB-INF下面的文件全是受保护的  不能直接通过url定位.
      

  2.   

    WEB-INF下的JSP页面是访问不到的
      

  3.   

    对应该选E,WEB-INF下边都是一配置文件,不会有有页面,我犯过这样的错误,所以印象深刻。
      

  4.   

    在Web.xml里面将URL设置为WEB-INF/JSP/INDEX.JSP就OK啦!
      

  5.   

    E. The page can not be opened directly from the browser.
      

  6.   

    Java Web 应用中 WEB-INF 和 META-INF 这两个目录是受保护的,不能通过 URL 进行访问。