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 |
what is the difference between ServletContext and ServletConfig
Is servlet thread safe?
What is the importance of init() method in Servlet ?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,
Explain the difference between servletconfig and servletcontext in servlet?
What do you mean by httpservlet?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What do you mean by session tracking?
Why setMaxAge() and getMaxAge() methods are used in Cookies?
What's the difference between servlets and applets?
What is the default http method in the servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.