以下哪种格式是正确的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/news/index.jsp
B: http://localhost:8080/news/index.jsp
C: http:localhost://8080/news/index.jsp
D: http://localhost/8080:news/index.jsp
举一反三
- 运行访问javaweb项目的路径可以是() A: http://localhost:8080/myweb/ B: http://localhost:8080/myweb/index.jsp C: http://www.baidu.com/myweb/ D: http://www.taobao.com/myweb/
- 可以被该Filter拦截的URL有( )。 [filter] [filter-name]security[/-name] [filter-class]myFilters.SecurityFilter[/-class] [/] [filter-mapping][br][/br] [filter-name]security[/-name] [url-pattern]/news/*[/-pattern] </filter-mapping A: http://localhost:8080/test/news/Servlet1 B: http://localhost:8080/test/news/LoginServlet C: http://localhost:8080/test/news.jsp D: http://localhost:8080/test/news/admin/AddServlet
- 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/chapter12/hello/firstController B: http://localhost:8080/chapter12/first/firstController C: http://localhost:8080/chapter12/first/first D: http://localhost:8080/chapter12/hello/first
- http://localhost:8080/