Go back to 1Z0-858 - Java Enterprise Edition 5 Web Component Developer Certified Professional Exam

Question :-

You are building a Front Controller using a JSP page and you need to determine if the user's session has NOT been created yet and perform some special processing for this case. Which scriptlet code snippet will perform this test?
<% if ( request.getSession(false) == null ) { // special processing } %>
<% if ( request.getHttpSession(false) == null ) { // special processing } %>
<% if ( requestObject.getSession(false) == null ) { // special processing } %>
<% if ( requestObject.getHttpSession(false) == null ) { // special processing } %>

Want to practice for 1Z0-858 - Java Enterprise Edition 5 Web Component Developer Certified Professional Exam ? Click here.