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

How the JSP file will be executed on the Server side?

1191


What is the servlet?

1129


Why do we have servlet filters?

1078


What is cookie? Why is cookie used?

1103


If some new data has entered the database, explain how can a servlet refresh automatically?

1350


What are some advantages of storing session state in cookies?

1080


When servlet is loaded?

1122


What is getservletcontext?

1139


What are the uses of servlet and what is servlet chaining?

1147


What is servlet and its types?

1100


What exactly are the functions of servlet?

1161


What are the important functions of filters?

1200


Explain the servlet context.

1209


What is servlet and list its types?

1129


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

1087