Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Servlet-Interview-Questions Session with GenericServlet
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
Session with GenericServlet
1 Answer(s)      4 years and a month ago
Posted in : Servlet Interview Questions


Can I create a session with GenericServlet?


Advertisement
View Answers

November 4, 2010 at 2:49 PM


There are no protocol-specific features in GenericServlet, which is an implementation of the basic, general purpose Servlet interface. Servlet-based sessions are designed only for interactions using the HTTP protocol, which has two key features necessary for a servlet container to simulate continuous user sessions: cookies and URL-based navigation, which supports URL-rewriting. The servlet API therefore places the HttpSession interface in the javax.servlet.http package, and session references are only available through classes in this package.



Related Tutorials/Questions & Answers:
Session with GenericServlet
Session with GenericServlet  Can I create a session with GenericServlet?   There are no protocol-specific features in GenericServlet, which... in the javax.servlet.http package, and session references are only available through classes
GenericServlet
GenericServlet  What is the GenericServlet class?   GenericServlet makes writing servlets easier. To write a generic servlet, all you need to do is to override the abstract service method
Advertisements
Related to GenericServlet and HttpServlet
Related to GenericServlet and HttpServlet  Que: Http Servlet extends Generic Servlet then Why both GenericServlet and HttpServlet implements Serializable interface ?   GenericServlet and HttpServlet implement
Difference between GenericServlet and HttpServlet
In this section we will discuss about the difference between GenericServlet and HttpServlet. GenericServlet is an abstract class that extends java.lang.Object while HttpServlet is an abstract class that extends GenericServlet
session
session  is there any possibility to call one session from another session
session
session  is there any possibility to call one session from another session
Session
Session   how to session maintaining in servlet with use of hidden fieds
session
session  Session management in Java
Session
Session  How fined session is new or old
session
Session Management in PHP  Handling session in PHP. Can anyone please explain it with the help of an existing example about, how to handle a session while a user is logged in PHP
Session
Session   How can we set the inactivity period on a per-session basis?   We can set the session time out programmatically by using the method setMaxInactiveInterval() of HttpSession
session
session   explain sessioln tracking in jsp and display program
session
session  Which methods can be invoked by the container on a stateless session bean
session
session  What mechanisms are used by a Servlet Container to maintain session information?   Servlet Container uses Cookies, URL rewriting, and HTTPS protocol information to maintain the session
Session
Session   hii, What Is a Session?   hello, Sessions are commonly used to store temporary data to allow multiple PHP pages to offer a complete functional transaction for the same visitor
session
session  how can transfer data of one page to another page using session in java swing
Session
Session  What Is a Session?   Hi friends, A session... subsequent HTTP requests. There is only one session object available to your PHP scripts at any time. Data saved to the session by a script can be retrieved
Session
;A servlet session is created and stored on the server side. The servlet container keeps.... To the maintain the session, Web clients must pass back a valid session.... In this sense, the session is also stored by the client, but only as a token reference
session
session  create multiple login on one page in php but how to use session
Session
Session   why do we need session? actually what stored in a session... and user would not able to retrieve the information. So, Session provides that facility to store information on server memory. 2)Variables are stored in session
session
session  how to implement login-logout session????   Please visit the following links: http://www.roseindia.net/quickguide/tomcat/Logout.shtml http://www.roseindia.net/jsp/javascriptpagerefresh.shtml http
session hanling
session hanling  session handling in facelets/jsf
Session in Php
Session in Php   What Is a Session
session Maintainess
session Maintainess  how to maintain session in struts 2
Session management
Session management  How To Maintain Session in jsp for Online exam project
session handling
session handling  how we can handle session in core java
php session
php session  what is session
Terminate the session
Terminate the session  How to terminate the session
Session control
Session control  Could we make session control in JSP language without having any help of other framework
session invalidate.
session invalidate.  how to invalidate session? i am calling session.invalidate()but not working
session tracking
session tracking  What are the common mechanisms used for session tracking?    Cookies SSL sessions URL- rewriting
Advertisements
 

 

 

DMCA.com