Answer Posted / ramareddy
A 'Servlet' is a Java programming language class used to
extend the capabilities of a server. Although servlets can
respond to any types of requests, they are commonly used to
extend the applications hosted by web servers, so they can
be thought of as Java Applets that run on servers instead of
in web browsers.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Write a program to show the functionality of doget and dopost method?
Explain the different ways for servlet authentication?
How the servlet is loaded?
Why do we need a constructor in a servlet if we use the init method?
What is webservlet?
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!
How do I use cookies to store session state on the client?
How can we perform any action at the time of deploying the project?
How can I send user authentication information while making URL Connection?
What are Servlets?
Explain the difference between servlet and cgi?
List some life cycle methods of a servlet.
How can we upload the file to the server using servlet?
What is load-on-startup in servlet?
What’s the difference between genericservlet and httpservlet?