A、http://localhost:8080/hello.jsp
B、http://localhost:8080/helloapp/hello.jsp
C、http://localhost:8080/helloapp/hello/hello.jsp
D、http://localhost:8080/webapps/helloapp/hello/dello.jsp
第1题:
假设在stu应用中有一个LoginServlet类,它位于cn.dot包中,在Tomcat服务器中这个类的.class文件的存放路径是哪个选项()?
A.stu/webapps/LoginServlet.class
B.stu/WEB-INF/LoginServlet.class
C.stu/WEB-INF/classes/dot/LoginServlet.class
D.stu/WEB-INF/classes/cn/dot/LoginServlet.class
第2题:
3、tomcat不修改默认端口的情况下,访问hello这个web应用的login.html文件时,在浏览器地址栏写的url ()
A.http://localhost/hell/login
B.http://localhost:8080/hello/login.html
C.http://hello/login.jsp
D.http://localhost/hello/login.html
第3题:
假设在helloapp应用中有一个hello.jsp,它的文件路径如下: %CATALINA_HOME%/webapps/helloapp/hello/hello.jsp 那么在浏览器端访问hello.jsp的URL是什么?
A.http://localhost:8080/hello.jsp
B.http://localhost:8080/helloapp/hello.jsp
C.http://localhost:8080/helloapp/hello/hello.jsp
D.http://localhost:8080/hello/hello.jsp
第4题:
假设在helloapp应用中有一个hello.jsp,它的文件路径如下: <CATALINA_HOME>/webapps/helloapp/hello/hello.jsp 在web.xml文件中没有对hello.jsp作任何配置,那么浏览器端访问hello.jsp的URL是什么?
A.http://localhost:8080/hello.jsp
B.http://localhost:8080/helloapp.jsp
C.http://localhost:8080/helloapp/hello/hello.jsp
D.http://localhost:8080/hello
第5题:
35、用户在浏览器地址栏中输入URL,如果未输入路径和文件名,则服务器将把站点的()文件发送给客户端浏览器。