123456789101112131415161718 |
- package cn.hhj.bio.tomcat.servlet;
- import cn.hhj.bio.tomcat.http.Request;
- import cn.hhj.bio.tomcat.http.Response;
- import cn.hhj.bio.tomcat.http.Servlet;
- public class SecondServlet extends Servlet {
- public void doGet(Request request, Response response) throws Exception {
- this.doPost(request, response);
- }
- public void doPost(Request request, Response response) throws Exception {
- response.write("This is Second Serlvet");
- }
- }
|