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 variables can be accessed across the sessions?

Answers were Sorted based on User's Feedback



How variables can be accessed across the sessions?..

Answer / mohan

we have to set the variable in session object.like
session.setAttribute("somename",varible name);
and then we can get this variable where we want in this
session
session.getAttribute("somename");

Is This Answer Correct ?    2 Yes 0 No

How variables can be accessed across the sessions?..

Answer / anji

Store the variable in the session.

Is This Answer Correct ?    1 Yes 1 No

How variables can be accessed across the sessions?..

Answer / niranjanravi

through session context interface

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

Explain the difference between GET and POST methods?

6 Answers  


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

0 Answers  


Difference between doget and dopost?

0 Answers  


what is meant by servlet to servlet communication?

1 Answers   KPIT,


What is the process to implement doget and dopost methods?

0 Answers  


What is difference between get and post method?

0 Answers  


What do you mean by session tracking and also explain its techniques?

0 Answers  


Is the init(ServletConfig sc) throws IOException or not?

3 Answers  


How to rectify errors in java servlet while compilation?

0 Answers  


What is preinitialization of a servlet?

0 Answers  


What is servlet looping or chaining?

0 Answers  


What is the directory structure of web application?

0 Answers  


Categories