如何获取一个Cookie[]?()
A: request.getCookies()
B: request.getCookie()
C: response.getCookies()
D: response.getCookie()
A: request.getCookies()
B: request.getCookie()
C: response.getCookies()
D: response.getCookie()
举一反三
- PHP用于存储cookie数据的超级全局变量是( A: $_COOKIES B: $_GETCOOKIES C: $_GETCOOKIE D: $_COOKIE
- 在PHP中用于存储cookie数据的超级全局变量是() A: $_COOKIES B: $_COOKIE C: $_GETCOOKIES D: $_GETCOOKIE
- 5、将Cookie写入客户端的response对象的方法为( )。 A: sendCookie() B: addCookie() C: setCookie() D: getCookie()
- 在一个Filter中,处理Filter业务的是( )方法 A: doFilter (HttpServletRequest request,HttpServletResponse response,FilterChainchain) B: doFilter (HttpServletRequest request,HttpServletResponse response) C: doFilter (ServletRequest request,ServletResponse response ,FilterChain chain) D: doFilter (ServletRequest request, ServletResponse response)
- ( )不是JSP的内置对象。 A: session B: cookie C: request D: response