Answer Posted / shakir khan
session is an object used by the servlet to track a user
interaction with web application across multiple HTTP
requests.
session is a collection or sequence of HTTP requests over a
period of time between client and webserver.when a session
is created,its life time is also set,defalut being 3 minute.
Upon expiration,session is destroyed,its resources returned
back to the engine.sessions can be prematurely destroyed by
the developer.
If a session is configured to last for 30 min.Upon
expired,client will need to start a new session.Each
session requires unqiue session id that can be used by the
client.
Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
What is lazy loading and what is Generic Servlet Class?
Explain the custom jsp tags and the beans.
When Servlet is unloaded?
What is a web application and what is it’s directory structure?
Explain url encoding in servlet?
Explain the jar and war files in servlet?
How to find whether a parameter exists in the request object?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
Is java servlet still used?
What do you mean by web applications?
What is load-on-startup in servlet?
How to notify an object in session when session is invalidated or timed-out?
What are different ways for authentication of servlet?
What are the jobs performed by servlets?
What is api in servlet?