网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面选项中,属于web.xml文件中<servlet>标签包含的子标签的是 ()
A.<init-param>
B.<servlet-name>
C.<load-on-startup>
D.<servlet-class>
参考答案和解析
D
更多 “下面选项中,属于web.xml文件中<servlet>标签包含的子标签的是 ()A.<init-param>B.<servlet-name>C.<load-on-startup>D.<servlet-class>” 相关考题
考题
在web.xml中servlet-mapping元素表示从servlet的URL的映射关系,它有两个子元素分别表示servlet名称和与其对应的URL映射,下面哪一个子元素表示URL映射()
A、mappingB、servlet-urlC、url_mappingD、url_pattern
考题
下列对于web.xml的配置说法错误的是()。
A、在web.xml描述中,首先要声明ServletB、在web.xml描述中,要指定这个Servlet的名字和类C、在web.xml描述中,要为Servlet做URL映射D、在web.xml中不可同时指定多个Servlet
考题
在Java Web应用开发中,已知在web.xml文件中正确配置了Servlet,若想将所有Web请求都映射到此Servlet,则需要在标签内填写的内容是()。 A、 *.htmlB、 *.jspC、 /*D、 *
考题
在web.xml文件中,描述了一个Servlet,其中()指定了Servlet类的访问路径。A、 servlet中的servlet-name B、url-pattrrn C、 WEB-INF文件夹servlet-class D、 servlet-mapping中的servlet-name
考题
在使用Struts时,()是设置访问ActionServlet的路径。A、web.xml文件中的servlet-mapping标签B、web.xml文件中的url-pattern标签C、struts-config.xml文件中的actionD、struts-config.xml文件中的forward
考题
下列对于web.xml的配置说法错误的是()A、在web.xml描述中,首先要声明ServletB、在web.xml描述中,要指定这个Servlet的名字C、在web.xml描述中,要指定这个Servlet的类D、在web.xml描述中,要为Servlet做URI映射E、在web.xml中不可同时指定多个Servlet
考题
扩展标签使用的是下面的哪个包?()A、javax.servlet.jsp.tagext.*B、javax.servlet.jsp.*C、java.io.*D、javax.servlet.*
考题
下列web.xml中有关Servlet配置说法,哪一种是错误的?()A、在web.xml描述中,首先要声明ServletB、在web.xml描述中,要指定这个Servlet的名字C、在web.xml描述中,要指定这个Servlet的类D、在web.xml描述中,要为Servlet做URI映射E、在web.xml中不可同时指定多个Servlet
考题
单选题下列web.xml中有关Servlet配置说法,哪一种是错误的?()A
在web.xml描述中,首先要声明ServletB
在web.xml描述中,要指定这个Servlet的名字C
在web.xml描述中,要指定这个Servlet的类D
在web.xml描述中,要为Servlet做URI映射E
在web.xml中不可同时指定多个Servlet
考题
单选题下列对于web.xml的配置说法错误的是()A
在web.xml描述中,首先要声明ServletB
在web.xml描述中,要指定这个Servlet的名字C
在web.xml描述中,要指定这个Servlet的类D
在web.xml描述中,要为Servlet做URI映射E
在web.xml中不可同时指定多个Servlet
考题
单选题在web.xml文件中,描述了一个Servlet,其中()指定了Servlet类的访问路径。A
servlet中的servlet-name B
url-pattrrn C
WEB-INF文件夹servlet-class D
servlet-mapping中的servlet-name
考题
单选题在使用Struts时,()是设置访问ActionServlet的路径。A
web.xml文件中的servlet-mapping标签B
web.xml文件中的url-pattern标签C
struts-config.xml文件中的actionD
struts-config.xml文件中的forward
考题
单选题在Java Web应用开发中,已知在web.xml文件中正确配置了Servlet,若想将所有Web请求都映射到此Servlet,则需要在标签内填写的内容是()。A
*.htmlB
*.jspC
/*D
*
热门标签
最新试卷