How do you track a user session in servlets?
Answers were Sorted based on User's Feedback
Answer / udayc how
1)user authentication
2)hidden form fields
3)cookies
4)url rewriting
5)httpsession
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / ravikiran.chd
by making use of session tracking mechanisms such as
1).Hidden Form Fields
2).cookies
3).Http Sessions
4).Url Rewriting
| Is This Answer Correct ? | 4 Yes | 0 No |
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
what is servlet life cycle?
Why is httpservlet declared abstract?
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.
What is the difference between RequestDispatcher and sendRedirect?-
What are the types of an http request?
What is MIME Type?
What exception should be thrown when servlet is not properly initialized?
Who is responsible to create the object of servlet?
why we should override only no-agrs init() method.
What are the advantages of servlets over traditional cgi?
can servlet have instance variables?