1.

Which option is true about session scope?(a) Objects are accessible only from the page in which they are created(b) Objects are accessible only from the pages which are in same session(c) Objects are accessible only from the pages which are processing the same request(d) Objects are accessible only from the pages which reside in same applicationThis question was addressed to me during an interview.This interesting question is from JSP in chapter Session Management, JSP & API of Java

Answer»

Right answer is (b) Objects are accessible only from the pages which are in same SESSION

Best explanation: OBJECT data is available TILL session is ALIVE.



Discussion

No Comment Found

Related InterviewSolutions