How can I share objects across different sessions?

Answer Posted / aman kumar

with the help of session.setAttribute()and session.getAtribute()we can share Httpsession object across different servlet and jsp.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain session tracking and its importance?

548


What is session tracking?

698


What is the element?

590


What are sessions in servlets?

578


How will you pass values from HTML page to the servlet?

557






Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1747


Explain the jar and war files in servlet?

557


Does servlet have main method?

691


What is difference between get and post method?

574


What's the use of servletcontext?

685


What is life cycle of Servlet?

607


What is servlet in simple terms?

574


How can I send user authentication information while making URL Connection?

549


Difference between forward() method and sendredirect() method ?

587


What is the purpose of inter-servlet communication?

595