Which is better approach among four(HttpSession,cookie,URL
Rewriting, Hidden Fields) Session Tracking technic's ? Why ?
Answer Posted / nagaraju
HttpSession with cookies is the best approach
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
What are the key methods that are involved in processing of http servlets?
Explain the methods of request dispatcher in servlet?
What are the mechanisms used by a servlet container for maintaining session information?
Explain web application directory arrangement?
How do you define a servlet?
What are the functions of the servlet container?
Why is init() method is used in servlets?
Tell us something about servletconfig interface.
Differentiate between the get and post method
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!
What is the difference between Server and Container?
Name the different ways of session tracking.
What is the life-cycle of servlets?
How will two or three servlets interact or communicate with each other?