how do you maintain sessions in servlets?
Answers were Sorted based on User's Feedback
Answer / bibek
for mentaining session there are four ways
1 hidden field
2 url re-writting
3 coockis
4 session
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / mahesh
to maintain sessions in servlets we can use another way that
is through........ RequestDispatcher
| Is This Answer Correct ? | 5 Yes | 4 No |
How can you push data from an Applet to a Servlet?
How can I share objects across different sessions?
Explain the difference between get and post method in servlet?
What is forward() and include() of servlets RequestDispatcher interface?
Which HTTP method is non-idempotent?
Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.
Which are the different ways you can communicate between servlets?
Can a jsp be called using a servlet?
What is the use of servletconfig interface?
when will cookie information destroy?
Why is http protocol called as a stateless protocol?
What is the major difference between servlet and applet?