2 Answers

0 votes
Java Servlets are programs that run on a Web or Application server and act as a middle layer between a request coming from a Web browser or other HTTP client and databases or applications on the HTTP server.
answered Jun 20, 2016 by Nani
0 votes

Servlets provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI programs. Servlets have access to the entire family of Java APIs, including the JDBC API to access enterprise databases.

answered Jan 23 by muneshs16

Related questions

What are servlets filters?

Servlet Filters are Java classes that can be used in Servlet Programming for the following purposes:To intercept requests from a client before they access a resource at back end.To manipulate...

solved
java, android, jdbc, servlet 2 Answer 73 views asked Jun 30, 2016 in Java by RajaSekhar

What are the major tasks of servlets?

Java Servlets are programs that run on a Web or Application server and act as a middle layer between a request coming from a Web browser or other HTTP client and databases or applications on the HTTP...

solved
java, jdbc, servlet 2 Answer 132 views asked Jun 17, 2016 in Java by Narayana

How to get country name in Servlets?

Using request.getLocale().getDisplayCountry() method, i was expecting the country name of the client machine. But its returning US for the client machine located in India. What is the correct...

solved
java, servlet, jdbc 2 Answer 105 views asked Jun 30, 2016 in Java by RSK

How to detect locale in Servlets?

Use the ServletRequest.getLocale( ) method.The locale is represented by a class in Java: java.util.Locale. The ServletRequest object can access the client's "preferred" locale with its getLocale( )...

solved
java, jdbc, servlet 2 Answer 78 views asked Jun 30, 2016 in Java by Estela