ServletResponse.encodeURL
HttpServletResponse.encodeURL
ServletResponse.encodeRedirectURL
HttpServletResponse.encodeRedirectURL
第1题:
Your web application requires the adding and deleting of many session attributes during a complex usecase. A bug report has come in that indicates that an important session attribute is being deleted too soonand a NullPointerException is being thrown several interactions after the fact. You have decided to create asession event listener that will log when attributes are being deleted so you can track down when theattribute is erroneously being deleted. Which listener class will accomplish this debugging goal?()
第2题:
Which the JSTL code snippet can be used to import content from another web resource?()
第3题:
A. auto-RP
B. static RP
C. discovery mode
D. bootstrap protocol
第4题:
Which two JSTL URL-related tags perform URL rewriting?()
第5题:
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?()
第6题:
Which JSTL code snippet can be used to perform URL rewriting?()
第7题:
Which method must be used to encode a URL passed as an argument to HttpServletResponse.sendRedirect when using URL rewriting for session tracking?()
第8题:
Which method should be used to dynamically elect an RP when your network is using PIM version1?()
第9题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()
第10题:
Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()