This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HTTP Session support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HTTP Session support" Watch "HTTP Session support" New topic
Author

HTTP Session support

Naresh Gangapur
Greenhorn

Joined: Aug 12, 2007
Posts: 11
Can some one please clarify the below question (HFS Mock Exam)

Which statements about HTTP Session are true?

A. Java EE Containers must support HTTP Cookies
B. Java EE Containers must support URL rewriting
C.Java EE Containers must support SSL
D.Java EE Containers must support HTTP sessions, even for clients that do not support cookies

Answer as mentioned in the book - A, C, D

I thought URL Rewriting is a mandatory for the web container and not SSL. D itself implies B . I thought the answer would be A, B, D Can some please correct
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

This is an error in the book. Checkout the errata. Option B should be
"Java EE Containers may support URL rewriting"
Which makes the option false as a container must support URL rewriting...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Naresh Gangapur
Greenhorn

Joined: Aug 12, 2007
Posts: 11
Thank you Ankit.
Lukasz Tymoszczuk
Greenhorn

Joined: Mar 21, 2010
Posts: 1
Ankit Garg wrote:This is an error in the book. Checkout the errata. Option B should be
"Java EE Containers may support URL rewriting"
Which makes the option false as a container must support URL rewriting...


I can't agree with this. In the errata's link we can find:

Note from the Author or Editor:
The mock exam question 14 on pg 834 is formally correct because the Servlet spec says "URL rewriting may be used by the server". The use of the word "may" means that URL rewriting is not required by the spec.

So if there was the "may" word, the answer would be correct - now with "must" is incorrect.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Session support
 
Similar Threads
Cookies, URL rewrting, SSL support
SSL support
Question on Session
Head First Problem
http - https - load balancer - web Server - app Server