Answer Posted / shanmuk
At present in the market as all the popular webservers are using http protocol, we are using HttpServlet(by deriving some features from the GenerivServlet) .... and if in the future any webserver is developed based on the other protocols we need to define a new servlet. so, .....................
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What is the inter-servlet communication?
List out difference between a JavaBean from a Servlet?
What is httpservlet class?
What is the purpose of inter-servlet communication?
What is meant by session? Tell me something about httpsession class?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is servlet lazy loading?
What is java servlet?
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 ServletConfig object?
What is servlet and how it works?
List some life cycle methods of a servlet.
Explain the difference between servletconfig and servletcontext in servlet?
What is the difference between using getSession(true) and getSession(false) methods?
What is the difference in between the httpservlet and generic servlet?