题目内容

在浏览器中输入http://localhost:8080/myWebApp/start/,就会调用itcast包中名为Student的Servlet,那么在web.xml中配置正确的是()

A. /start/*itcast.Student
B. itcast.Student /start/*
C. studentitcast.Studentstudent/start/*
D. itcast.Student student itcast.Student /start/*

查看答案
更多问题

下面选项中, 可用于获取Web应用的初始化参数的所有参数名的方法是()

A. getInitParameterNames()
B. getInitParameter(String name)
C. getInitParameter()
D. getParameter(String name)

在HttpServletResponse接口中,实现请求重定向的方法是__(注:只写方法名)

当某个Web应用没有缺省Servlet时,也会使用Tomcat已配好的__作为默认缺省的Servlet。(注:写类名,单词首字母大写)

在web.xml文件中,/xxxxServlet中的第一个‘/’表示___

答案查题题库