answersLogoWhite

0


Best Answer

The servlet class created in web applications usually extend the javax.servlet.HttpServlet class. The HttpServlet extends the javax.servlet.GenericServlet. These classes contain the basic features that are required to run a web application.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

1mo ago

A new servlet is usually inherited from the HttpServlet class in Java. This allows the servlet to handle HTTP requests and provide responses to clients.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What class is a new servlet usually inherited?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create object of javabeen in servlet?

A JavaBean is nothing but a regular Java Class and hence it can be instantiated using the new keyword and invoking the bean constructor


What is the difference between RequestDispatcher.forward and HttpServletResponse.sendRedirect?

In send Redirect whenever the client makes any request it goes to the container, there the container decides whether the concerned servlet can handle the request or not. If not then the servlet decides that the request can be handle by other servlet or jsp. Then the servlet calls the sendRedirect() method of the response object and sends back the response to the browser along with the status code. Then the browser sees the status code and look for that servlet which can now handle the request. Again the browser makes a new request, but with the name of that servlet which can now handle the request and the result will be displayed to you by the browser. In all this process the client is unaware of the processing.


What does the new first class postage stamp look like?

Follow this link to see the new first class stamps: http://shop.usps.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10152&storeId=10001&categoryId=21903&productId=37853&langId=-1


Can a beneficiary to an estate enter into a new lease agreement?

If the beneficiary inherited the property and the estate has been probated then she is the new owner and can execute a new lease agreement.If the beneficiary inherited the property and the estate has been probated then she is the new owner and can execute a new lease agreement.If the beneficiary inherited the property and the estate has been probated then she is the new owner and can execute a new lease agreement.If the beneficiary inherited the property and the estate has been probated then she is the new owner and can execute a new lease agreement.


Was there a class system in New Jersey?

In the early years of the American colonies, there was a definite class system. It was usually based on wealth and land ownership. The people of the New Jersey colony were not immune to this classification.


What is inheritance how does it help us create new classes?

Inheritance is the java feature by which the functionality of a parent class is inherited by the child class. Inheritance does not help create new classes instead it avoids creation of duplicate classes. We can re-use classes using Inheritance.


Can you catch a train between Montreal and New York?

sure you can: http://www.amtrak.com/servlet/ContentServer?pagename=Amtrak/HomePage


What is a novel BDZ?

BDZ usually stands for benzodiazepine, which is a class of medication given for anxiety that includes Valium (diazepam). "Novel" would suggest a new medication in that class.


Do new parents take a parenting class?

I'll say this, its probably very smart if they did, but i cant say that all new parents take the class for sure. Usually parent classes are taken while the women is pregnant and not while they have the child. But yes its very possible new parents take parenting class.


How constructor called?

You cannot invoke a constructor explicitly. It will get invoked implicitly when you call the new keyword on the class to create an object of the class. Ex: private ClassExample obj = new ClassExample(); here this new keyword usage on the ClassExample class will invoke the constructor of this class and create an object of that class.


What is enterprise in business?

enterprise usually refers to the process by which new businesses are formed and the new products and services created are brought to the market. enterprises are usually led by entrepreneurs. this is what we learnt in business class hope it helps


What is business enterprise?

enterprise usually refers to the process by which new businesses are formed and the new products and services created are brought to the market. enterprises are usually led by entrepreneurs. this is what we learnt in business class hope it helps