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 Posted / 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 |
Post New Answer View All Answers
What is the use of java servlet api?
Name the different ways of session tracking.
What are the features added in Servlet 2.5?
Is servlet a controller?
How we can call a jsp from the servlet?
why we should override only no-agrs init() method.
What is the functionality of actionservlet and requestprocessor?
How do we go with database connection and log4j integration in servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is servlet container. how it works?
What is the purpose of inter-servlet communication?
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!
How do you define a servlet?
How do you get the ip address of the client in servlet?
Which java framework is most popular?