如果URLurl=newURL("http://java.sun.com")则url.getFile()得到的结果是
举一反三
- 如果URL url=new URL("http://java.sun.com")则url.getFile()得到的结果是
- 对于URLurl=newURL("http://www.google.com");url对象中的协议是http协议,包含的地址是www.google.com,包含的资源是默认的资源(主页)。
- 下列网址中( )是动态 URL。 A: http://www.×××.com/news/index.html?date=20190812&newsid=321 B: http://www.×××.com/news/sc/20190812/321 C: http://www.×××.com/news/index.html D: http:/.sc.news.×××.com
- 以下URL中写法正确的是( ) A: http://WWW.sin com\index.html B: https://news.sina.com.cn/ C: http//WWW sin com\index.html D: http://news,sina,com,cn//index.html
- 下列选项可以正确导入JSTL标签库的是( )。 A: <% taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"> B: <% taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"> C: <% taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"> D: <% page prefix="c" uri="http://java.sun.com/jsp/jstl/core">