if we know the any consultancies, it will place in company
work through consultancy(contract base). please help me I'm
2008 pass out java candidate...
Answer / venkat
Hi friend ,
if u use getSession(true),first the container checks the
session is avilable or not.if it exists,it uses that session
and returns that session,otherwise it creates new session
but in case of getSession(false),if the session exists for
the user,it uses that session otherwise it returns null
| Is This Answer Correct ? | 2 Yes | 1 No |
what is the difference between ServletContext and ServletConfig
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
How we can check in particular page the session will be alive or not
What is the default http method in the servlet?
how do you maintain sessions in servlets?
How can we include static files in the jsp page?
why are extending GenericServlet and why are extending HttpServlet explain?
How will you pass values from HTML page to the servlet?
Explain how does JSP handle run-time exceptions?
How do you communicate in between Applets and Servlets?
What is servlet initializer?
Explain the difference between a web server and a web container?