Home Answers Viewqa Servlet-Interview-Questions what are sessions in servlets

 
 


Nagendran
what are sessions in servlets
1 Answer(s)      a year ago
Posted in : Servlet Interview Questions

what are sessions in servlets

View Answers

May 7, 2012 at 4:01 PM


A Session refers to all the request that a single client makes to a server. A session is specific to the user and for each user a new session is created to track all the request from that user. Every user has a separate session and separate session variable is associated with that session. In case of web applications the default time-out value for session variable is 20 minutes, which can be changed as per the requirement.

For more information, visit the following links:

http://roseindia.net/jsp/jspsession/

http://www.roseindia.net/servlets/client-auto-refresh-servlets.shtml









Related Pages:
Sessions in servlets
Sessions in servlets  What is the use of sessions in servlets?   The servlet HttpSession interface is used to simulate the concept that a person's visit to a Web site is one continuous series of interactions
sessions
sessions  how can i restore the session? if i closes the browser.. then i opened the browser i want the same page getting what i closed... Example: like in gmail if i closed inbox..when i opened gmail then inbox is coming  
servlets
what are sessions in servlets  what are sessions in servlets   A Session refers to all the request that a single client makes to a server...: http://roseindia.net/jsp/jspsession/ http://www.roseindia.net/servlets
servlets
what are the different ways we can maintain state between request  what are the different ways we can maintain state between request   ... 2)Cookies 3)Hidden fields 4)Sessions
servlets
servlets  what is the duties of response object in servlets
servlets
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
servlets
what is the architecture of a servlets package  what is the architecture of a servlets package   The javax.servlet package provides interfaces and classes for writing servlets. The Servlet Interface The central
servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml
servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so
servlets
servlets   Hi what is pre initialized servlets, how can we achives?   When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives
the servlets
what is diff between generic servlets and httpservlets  what is diff between generic servlets and httpservlets   Difference between GenericServlet and HTTPServlet: 1)GenericServlet belongs to javax.servlet package
servlets
what are cookies in servlets  what are cookies   Cookies... regarding the user usage and habits. Servlets sends cookies to the browser client...://www.roseindia.net/jsp/jspcookies.shtml http://www.roseindia.net/servlets/use
servlets
what are filters in java servlets  what are filters in java   Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradigm
servlets
servlets  what are different authentication options available in servlets   There are four ways of authentication:- HTTP basic authentication HTTP digest authentication HTTPS client authentication Form-based
Servlets
Servlets  What is the filter code to authenticate the user
servlets
what are the two important api in for servlet  what are the two important api in for servlet   Two important packages are required to build servlet "javax.servlet" and javax.servlet.http
servlets
servlets  q)What will happen if you donā??t write the implementation in service () of our Servlet? Which method () it will call? q2)How many times init() execute and what happen if browser is close and server shutdown ? JSP
servlets
what is the difference between getsession true and getsession fales servlets  what is the difference between getsession true and getsession fales   The getSession(true) will check whether a session already exists
servlets
what is functionality of requestdispatcher object servlets  what is functionality of requestdispatcher object   The RequestDispatcher allows the dynamic inclusion of web components either by including in the current
servlets
what is url rewriting  what is url rewriting   It is used to maintain the session. Whenever the browser sends a request then it is always interpreted as a new request because http protocol is a stateless protocol
servlets
servlets  what is ResultSet?   ResultSet is a java object that is used for database connectivity to hold the data returned by a select query. When we run a select query it returns us the data in a table format with each
servlets
what is the difference between dopost and doget methods  what is the difference between dopost and doget methods   doGet is used when there is are requirement of sending data appended to a query string in the URL
the servlets
what is the use of servlet context  what is the use of servlet context   ServletContext is a interface which helps us to communicate with the servlet container. There is only one ServletContext for the entire web
servlets
servlets  Even though HttpServlet doesn't contain any abstract method why it is declared as abstract class? what benifits we can get by declaring like this?(i.e, with out containing the abstract methods, declaring a class
sessions - JSP-Servlet
/servlets/ Thanks
SERVLETS
SERVLETS  I follow the same procedure what you send by the links.but i got the same errors coding is: import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class
Manage end-user state and understand performance tradeoffs of using HTTP sessions
performance tradeoffs of using HTTP sessions Prev Chapter 2. ... sessions A session is a series of requests.... Sessions allow applications running in a Web container to keep track
Authentication in Servlets
Authentication in Servlets  What are different Authentication options available in Servlets
advantages of Servlets
advantages of Servlets  What is advantages of Servlets ?    Portability. Powerful. Efficiency. Safety. Integration. Extensibilty. Inexpensive
servlets - Servlet Interview Questions
what is servlets in Java  what is servlets in Java
Servlets Books
to update a company's order database. Servlets are to servers what applets... Servlets Books        ... Courses Looking for short hands-on training classes on servlets
xml and servlets
xml and servlets  what are the procedures used with combining xml and servlet
xml and servlets
xml and servlets  what are the procedures used with combining xml and servlet
sessions management
sessions management  I have a problem with the session management of my applcation deployed in tomcat. in fact, my application allows only one session to a login / password given. I then add in the database a flag for each user
jsp and servlets
jsp and servlets  what is difference between jsp and servlet?? what should a person use to develop website ??   JSP is used for view in MVC - I architecture. It used to generate dynamic contents in the form of HTML
Error in servlets
cannot run it. What should i do
servlets - Servlet Interview Questions
servlets  WHAT ARE THE SERVLETS SUPPORTING LANGUAGES? compare to CGI Script
What is Java Servlets?
What is Java Servlets?       Servlets are server side components that provide a powerful mechanism for developing server side programs. Servlets provide component-based, platform-independent
servlets - Servlet Interview Questions
servlets  What would we do with a doGet() method?  Hi Read more Details http://www.roseindia.net/servlets
servlets - JSP-Servlet
servlets  hi, can anybody help me as what exactly to be done to for compilation,execution of servlets. i also want to know the software required in this execution
Servlets in JSF - JSP-Servlet
in the form itself by double clicking why should i go for servlets to write code.... Simply what is the role of servlets in JSF. which one is the best one..jsp...Servlets in JSF  Hi! I am using Java Visual Studio to develop my
servlets - Java Beginners
servlets  what is the difference b/w servlets and JSP, what servlets... to respond to HTTP requests. A JSP layered on top of Java Servlets. Whereas... code. Servlets are serverside programs, we can execute servlets with in web
servlets execution - JSP-Servlet
servlets execution  the xml file is web.xml file in which the servlet name,servlet class,mapping etc which has to be done.   What u want...://www.roseindia.net/servlets/ Thanks. Amardeep
What is WSP?
What is WSP?  hii, What is WSP?   hello,, Wireless Session Protocol (WSP) implements session services of WAP. Sessions can be connection-oriented and connectionless and they may be suspended and resumed
jsp sessions - JSP-Servlet
jsp sessions  Hi, i am JSP sessions example and code.  using SessenListners
servlets - Java Beginners
servlets   I am doing small project in java on servlets. I want to generate reports on webpage ,how is it possible and what is the difference between dynamic pages & reports ? tell me very urgent pls,pls
servlets - Java Beginners
servlets  Hello! am doin my servlet course at niit, i want know in detail methods of servlets,and where can we implement it i.e. i want to know the examples of the methods used in it. what is getInParameter(); does.please

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.