difference between request.getSession(false) or
request.getSession() and request.getSession(true)

Answer Posted / bhaskar

Your answer 100% right

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why session tracking is needed?

580


What is the structure of the http response

665


Explain jsessionid?

613


How to get the actual path of servlet in server?

726


What is ServletContext object?

639






How would you create deadlock on your servlet?

616


Explain the working of service() method of a servlet.

498


What are the objects involved when a servlet receives a call from client?

545


What is servlet in simple terms?

559


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!

1827


What is the directory structure of web application?

522


Explain the difference between servletconfig and servletcontext in servlet?

563


What do you mean by cgi and what are its drawbacks?

522


How do I support both get and post from the same servlet?

693


What is the process to implement doget and dopost methods?

540