java hosting


JavaRanch's SCWCD Mock Exam

This mock exam is provided to aid people in the preparation for the SCWCD Exam. While the questions are hopefully of similar content, every effort has been made to ensure no question from the real exam is contained herein.

Question Bank ID : 13     Choose the 1 correct answer
Your servlet can specify a different session timeout than the one defined in the 
Deployment Descriptor by calling which method ?
HttpSession#setSessionTimeout(int interval)
HttpServlet#setSessionTimeout(int interval)
Nothing, the timeout cannot be changed.
HttpSession#setMaxInactiveInterval(int interval)

Return to Start

JSP pages and Beans developed by Carl Trusiak
Questions developed and maintained by :
Tony Alicea
Frank Carver
Peter den Haan
Carl Trusiak
Christophe Verré
Paul Wheaton
Ken Zrobok