更多“在HttpServletRequest接口中,getPara…”相关的问题
第1题
在HttpServletRequest接口中,用于返回请求消息的实体部分的字符集编码的方法是()。
A.getCharacter()
B.getCharacterEncoding()
C.getEncoding()
D.getHeader(Stringname)
点击查看答案
第2题
HttpServletRequest接口中的getDateHeader()方法的返回值类型是
A.int
B.jA.util.Date
C.long
D.double
点击查看答案
第3题
在web中,()对象没有提供了setAttribte()方法
A.PageContext
B.HttpServletRequest
C.HttpSession
D.ServletConfig
点击查看答案
第4题
在Servlet程序中,只有属于同一个请求中的数据才可以通过HttpServletRequest对象传递()
点击查看答案
第5题
31、在Servlet中doGet 方法和 doPost 方法中的两个参数是什么
A.HttpServletRequest
B.HttpFormAction
C.HttpFormReply
D.HttpServletResponse
点击查看答案
第6题
31、在Servlet中doGet 方法和 doPost 方法中的两个参数是什么?
A.HttpServletRequest
B.HttpFormAction
C.HttpFormReply
D.HttpServletResponse
点击查看答案
第7题
在 JSP 中使用()接口获取 Web应用程序的上下文参数
A.ServletConfig
B.ServletContext
C.HttpServletRequest
D.HttpServletResponse
点击查看答案
第8题
给定某Servlet程序的片段如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是() public void doGet(HttpServletRequest request,HttpServletResponseresponse) throws ServletException ,IOException { System.out.println("get"); } public void doPost(HttpServletRequest request,HttpServletResponseresponse) throws ServletException ,IOException { System.out.println("post"); }
A.get
B.post
C.get post
D.post get
点击查看答案
第9题
10、给定某Servlet程序的片段如下,用户在浏览器地址栏中键盘键入正确的请求URL并回车后,在控制台上显示的结果是()。 public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException ,IOException{ System.out.println("get"); } public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException ,IOException { System.out.println("post"); }
A.get
B.post
C.get post
D.post get
点击查看答案
第10题
给定某Servlet程序的片段如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是() public void doGet(HttpServletRequest request,HttpServletResponseresponse) throws ServletException ,IOException { System.out.println("get"); } public void doPost(HttpServletRequest request,HttpServletResponseresponse) throws ServletException ,IOException { System.out.println("post"); }
A.get
B.post
C.get post
D.post get
点击查看答案