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

What is the use of servlet wrapper classes?

1121


Which method is called when reference variable is passed in system.net?

2342


What are the types of servlet?

1217


Difference between get and post in java servlets?

978


How can we achieve transport layer security for our web application?

967


How can you use a servlet to generate a plain text instead of html?

1074


Which event is fired at the time of session creation and destroy?

1322


What are the phases of a servlet life cycle?

1053


What is http servlet? Explain with the help of an example.

1013


What are the advantages of servlets over traditional cgi?

1037


What is the process for chaining servlet?

994


What is cookie in servlet?

1011


How do cookies work in servlets?

997


How do we go with database connection and log4j integration in servlet?

1122


How to get the current httpsession object?

1072