Answer Posted / jyoti
HttpServlet
Generic Servlet
Is This Answer Correct ? | 39 Yes | 4 No |
Post New Answer View All Answers
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!
Which exception is thrown if the servlet is not initialized properly?
How to get the actual path of servlet in server?
What is a servlet-to-servlet communcation?
How to find whether a parameter exists in the request object?
What are the advantages of cookies?
Which event is fired at the time of setting, getting or removing attribute from application scope?
How can an existing session be invalidated?
Does servlet have main method?
How can you use a servlet to generate a plain text instead of html?
Why is servlet used?
Is java servlet still used?
What is the type of method for sending request from http server?
What is the use of servlet wrapper classes?
Explain the steps involved in placing a servlet within a package?