HttpServletRequest对象的()方法能够获取一个表单参数的值选一项
A: getQuaryString()
B: getPathInfo()
C: getParameter()
D: getAttribute()
A: getQuaryString()
B: getPathInfo()
C: getParameter()
D: getAttribute()
举一反三
- HttpServletRequest对象的()方法能够获取一个表单参数的值:
- 从HTTP请求中,获得请求参数,应该调用哪个方法?() A: 调用HttpServletRequest对象的getAttribute()方法 B: 调用ServletContext对象的getAttribute()方法 C: 调用HttpServletRequest对象的getParameter()方法
- HttpServlet的子类要从HTTP请求中获得请求参数,应该调用哪个方法()。 A: 调用HttpServletRequest对象的getAttribute() B: 调用ServletContext对象的getAttribute() C: 调用HttpServletRequest对象的getParameter() D: 调用HttpServletRequest对象的getParameters()
- Servlet可通过由容器传递来的HttpServletRequest对象的()方法来获取客户请求的输入参数。 A: getParameter B: getProtocol C: getContentType D: getAttribute
- servlet 可通过由容器传递来的HttpServletRequest 对象的_____方法来获取客户请求的输入参数。 A: getParameter B: getProtocol C: getContentType D: getAttribute