在J2EE中,对于以下的include指令和include动作,书写正确的是()
第1题:
假设在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
第2题:
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
第3题:
A.<welcome-file>start.jsp</welcome-file>
B.<welcome-file-list>start.jsp</welcome-file-list>
C.<welcome-list><welcome-file>start.jsp</welcome-file></welcome-list>
D.<welcome-file-list><welcome-file>start.jsp</welcome-file></welcome-file-list>
第4题:
假设在helloapp应用中有一个hello.jsp,它的文件路径如下:TOMCAT_HOME%/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是什么?()
第5题:
当在JSP文件中要使用到Vector对象时,应在JSP文件中加入以下哪个语句?()
第6题:
假设在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
第7题:
在当前页面中包含a.htm的正确语句是()
第8题:
A.<jsp:includepage=http://localhost:/8080/my.jsp/>
B.<%@includefile=http://localhost:/8080/my.jsp/>
C.<jsp:includefile=http://localhost:/8080/my.jsp/>
D.<%@includepage=http://localhost:/8080/my.jsp/>
第9题:
JSP中包括2种指令:page指令和include指令。
第10题:
在J2EE 中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开 该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。