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

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

0 Answers  


How do you find out what client machine is making a request to your servlet

0 Answers  


What is java servlet session?

0 Answers  


what are the way a client can be tracked?

3 Answers   ABC, IBM,


What is http servlet in java?

0 Answers  


What is the protocol used by Server & Client?

2 Answers  


What are the type of protocols used in httpservlet?

0 Answers  


What is servlet in tomcat?

0 Answers  


What is servlet container. how it works?

0 Answers  


What is the use of request dispatcher interface?

0 Answers  


How will two or three servlets interact or communicate with each other?

0 Answers  


When should you prefer to use doget() over dopost()?

0 Answers  


Categories