Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 servlet life cycle?

1133


What are the different methods involved in the process of session management in servlets?

1271


Explain the features are in servlet 3?

1054


Explain get and post.

1111


How we can create war file in servlet?

1129


What is servlet container?

1118


What is Servlet API used for connecting database?

1102


Difference between httpservlet and generic servlets?

1105


The code in a finally clause will never fail to execute, right?

1085


How httpservlet is different from the genericservlet?

1126


What is the purpose of requestdispatcher interface?

1067


How do you create a cookie using servlet?

1173


What are sessions in servlets?

1066


What is the functionality of actionservlet and requestprocessor?

1090


What are the important functions of filters?

1147