在J2EE中,在my.jsp中使用标记扩展,下列选项正确的是()
第1题:
假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%JA VA_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/webapps/helloapp/hello/dello.jsp
第2题:
以下选项中,哪一项不是JSP指令()。
A、page
B、import
C、include
D、taglib
第3题:
A.<%@taglibURL=”/hello”prefix=”examples”%>
B.<%@taglibURI=”/hello”prefix=”examples”%>
C.<%@tagliburl=”/hello”prefix=”examples”%>
D.<%@tagliburi=”/hello”prefix=”examples”%>
第4题:
A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element withinthe web application deployment descriptor defines the associated TLD?()
第5题:
下列选项中,()是正确的表达式。
第6题:
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
第7题:
A.<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
B.<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>.</taglib>
C.<tld>.<tld-uri>dbtags</tld-uri>.<tld-location>/WEB-INF/tlds/dbtags.tld</tld-location>.</tld>
D.<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld.</taglib-location>.</taglib>
第8题:
假设在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
第9题:
假设在helloapp应用中有一个hello.jsp,它的文件路径如下:TOMCAT_HOME%/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是什么?()
第10题:
在linux系统中,要向当前所有登录用户发布消息:Hello!,应使用()命令。