public class EchoServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.log4j.Logger | loggerThe logger. | 
| Constructor and Description | 
|---|
| EchoServlet()Instantiates a new echo servlet. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doPost(javax.servlet.http.HttpServletRequest req,
      javax.servlet.http.HttpServletResponse rsp)Do post. | 
| static void | main(java.lang.String[] args)The main method. | 
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void doPost(javax.servlet.http.HttpServletRequest req,
          javax.servlet.http.HttpServletResponse rsp)
            throws javax.servlet.ServletException
doPost in class javax.servlet.http.HttpServletreq - - standard HttpServletRequest (http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html)rsp - - standard HttpServletResponse (http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletResponse.html)javax.servlet.ServletException - - thrown for uncaught exceptionpublic static void main(java.lang.String[] args)
args - the arguments