How variables can be accessed across the sessions?
Answers were Sorted based on User's Feedback
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 |
Which event is fired at the time of session creation and destroy?
How do you find out what client machine is making a request to your servlet
What is java servlet session?
what are the way a client can be tracked?
What is http servlet in java?
What is the protocol used by Server & Client?
What are the type of protocols used in httpservlet?
What is servlet in tomcat?
What is servlet container. how it works?
What is the use of request dispatcher interface?
How will two or three servlets interact or communicate with each other?
When should you prefer to use doget() over dopost()?