1.

How do you write a servlet that is part of a web application?

Answer»

To write a servlet that is part of a web application:
CREATE a Java CLASS that extends javax.servlet.http.HttpServlet. 
Import the classes from servlet.jar (or servlet-api.jar). 
These will be needed to compile the servlet.



Discussion

No Comment Found