What is servlet?

Answer Posted / tulasi vani

Servlets are server side java programs that are run on web
or application servers.They act as a middle layer between
the requests coming from the web browsers and databases

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2535


Explain the war file?

612


How to generate the server side programming and the advantages of it over the other languages?

566


How do we call one servlet from another servlet?

595


How will you pass values from HTML page to the servlet?

559






Explain get and post.

652


Explain mvc pattern.

595


Write a program to show the functionality of servlets.

559


How can the session in servlet be destroyed?

648


What is the difference between Servlets and Applets?

551


Define the lifecycle for executing a jsp page.

599


What are the types of servlet?

676


What is servlet and how it works?

510


What do you mean by httpservlet?

568


What is meant by Servlet? What are the parameters of service method?

606