What is the difference between Get and Post Method?
Answer Posted / manu
in Get method,data is passed in urlpattern i.e can be seen
everyone
in post method data is passed with in method body.
Is This Answer Correct ? | 35 Yes | 5 No |
Post New Answer View All Answers
Why do we have servlet wrapper classes?
request parameter how to find whether a parameter exists in the request object?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Explain the steps involved in placing a servlet within a package?
When Servlet is unloaded?
What's the difference between servlets and applets?
How to make sure a servlet is loaded at the application startup?
Which interface should be implemented by all servlets?
What is the directory structure of a war file?
Write a servlet to upload file on server.
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 are the life cycle methods of a servlet?
Elucidate servlet attributes and its scope?
What are the phases of the servlet life cycle?
what is servlet chaining?