tomcat中访问helloapp应用的login.html文件时,在浏览器地址栏应写的url为
A: http://localhost:8080/helloapp/;
B: http://localhost:8080/helloapp/login;
C: http://localhost:8080/login.html;
D: http://localhost:8080/helloapp/login.html
A: http://localhost:8080/helloapp/;
B: http://localhost:8080/helloapp/login;
C: http://localhost:8080/login.html;
D: http://localhost:8080/helloapp/login.html
举一反三
- 在tomcat中访问helloapp应用的login.html文件时,在浏览器地址栏应写的url为:http://localhost:8080/helloapp/login.html。
- 【单选题】假设在helloapp应用工程中有一个HelloServlet类,它在web.xml文件中的配置如下: HelloServlet org.java.thinker.HelloServlet HelloServlet /hello 那么在浏览器端访问HelloServlet的URL是什么? () A. http://localhost:8080/HelloServlet B. http://localhost:8080/helloapp/HelloServlet C. http://localhost:8080/helloapp/org/javathinker/hello D. http://localhost:8080/helloapp/hello
- 以下哪种格式是正确的URL( )。 A: http://localhost/8080/news/index.jsp B: http://localhost:8080/news/index.jsp C: http:localhost://8080/news/index.jsp D: http://localhost/8080:news/index.jsp
- 下面选项中,能够正确访问下面代码中方法是() A: http://localhost:8080/chapter12/hello/firstController B: http://localhost:8080/chapter12/first/firstController C: http://localhost:8080/chapter12/first/first D: http://localhost:8080/chapter12/hello/first
- 在tomcat中访问helloapp应用的login.html文件时,在浏览器地址栏应写的url为。