niusouti.com

假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是()A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jspD、http://localhost:8080/helloapp/

题目

假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/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/helloapp/hello


相似考题
更多“假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/webapps/helloapp/hello/hello.jsp ”相关问题
  • 第1题:

    应用程序打包后的war文件,需要复制到Tomcat的webapps目录下。


  • 第2题:

    假设在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


    C

  • 第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


    C

  • 第4题:

    假设在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


    http://localhost:8080/ welcome

  • 第5题:

    Tomcat安装目录中webapps文件夹里的内容是网站资源文件。


    正确