单项选择题
A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
A. The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs
B. The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely
C. The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported
D. The developer must ass the string ?id=
相关考题
-
单项选择题
AJSPpage,current.jsp,iscreatedtodisplaythecurrentweatherreport.Theweatherreportiscontainedinaweather.htmlpagethatisrewritteneveryfiveminutes.Whichline,appearingincurrent.jsp,ensuresthatthemostrecentversionofweather.htmlisincludedwhenevercurrent.jspisreferenced?()
A.
B.
C.
D.
E. -
单项选择题
What code, inserted at line 21, is called prior to a session being migrated to a different JVM assuming the web application containing MyExample is deployed in a container which supports distributed applications?()
A. public void valueUnbound(HttpSessionEvent ev){...}
B. public void sessionPassivated(HttpSessionEvent ev){...}
C. public void sessionDidActivate(HttpSessionEvent ev){...}
D. public void sessionWillPassivate(HttpSessionEvent ev){...} -
多项选择题
Whichthe threearetrueaboutservletfilters?()
A. A filter must implement the destroy method
B. A filter must implement the doFilter method
C. A servlet may have multiple filters associated with it
D. A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface
E. A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
F. For eachelement in the web application deployment descriptor, multiple instances of a filter may be created by the web container
