CMS专题

单选题Which statement is true about web container session management?()A Access to session-scoped attributes is guaranteed to be thread-safe by the web container.B To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting meth

题目
单选题
Which statement is true about web container session management?()
A

Access to session-scoped attributes is guaranteed to be thread-safe by the web container.

B

To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.

C

If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.

D

The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.

参考答案和解析
正确答案: B
解析: 暂无解析
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which statement about using McAfee and Webroot together is true?() 

  • A、it is not recommended: the system will not detect more malware
  • B、it is notpossible : the WSA will accept only one anti-malware license
  • C、the system will stop all web-based threats
  • D、it is recommended: the system will detect more malware

正确答案:D

第2题:

Which three are described in the standard web application deployment descriptor?()

  • A、session configuration
  • B、MIME type mappings
  • C、context root for the application
  • D、servlet instance pool configuration
  • E、web container default port bindings
  • F、Servlet Context initialization parameters

正确答案:A,B,F

第3题:

Which statement is true about the frequency of OSPF LSA transmissions?()

A.A

B.B

C.C

D.D


参考答案:D

第4题:

Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()

  • A、javax.servlet.http.HttpSessionListener
  • B、javax.servlet.http.HttpSessionBindingListener
  • C、javax.servlet.http.HttpSessionAttributeListener
  • D、javax.servlet.http.HttpSessionActivationListener

正确答案:D

第5题:

Which is the true choice about the web container request processing model()?

  • A、 The init method on a filter is called the first time a servlet mapped to that filter is invoked
  • B、 A filter defined for a servlet must always forward control to the next resource in the filter chain.
  • C、 Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file
  • D、 If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it

正确答案:C

第6题:

Which three are described in the standard web application deployment descriptor?()  

  • A、 session configuration
  • B、 MIME type mappings
  • C、 context root for the application
  • D、 servlet instance pool configuration
  • E、 web container default port bindings
  • F、 ServletContext initialization parameters

正确答案:A,B,F

第7题:

Which statement is true about IBGP routers? ()

  • A、They must be fully meshed
  • B、They can be in a different AS
  • C、They must be directly connected

正确答案:C

第8题:

Which statement is true about web container session management?()

  • A、Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
  • B、To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
  • C、If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
  • D、The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.

正确答案:C

第9题:

which of the following is not true about the classification of the cantainers?()

  • A、containers are classified as general purpose (dry cargo) container and specific purpose container
  • B、general purpose container (GP) is suitable for the widest varieties of cargo
  • C、specific purpose container is suitable for the specific cargo
  • D、bulk container, reefer container, open-top container are all general purpose containers

正确答案:D

第10题:

Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable  343./mainError.jsp 344. 345. 346.java.lang.ClassCastException  347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()

  • A、The deployment descriptor is invalid.
  • B、The container invokes mainError.jsp.
  • C、The container invokes castError.jsp.
  • D、Neither mainError.jsp nor castError.jsp is invoked.

正确答案:C

更多相关问题