import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class %Name%Servlet extends HttpServlet { 
  
  public void init(ServletConfig config) throws ServletException {
    super.init(config);
    
    //
    // Write your code here
    //
  }
  
  public void destroy() {
    // Write your code here
    super.destroy();
  }

  public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    // Set content-type header before accessing the Writer
    response.setContentType("text/html");
	  // Write the data of the response
    PrintWriter out = response.getWriter();
    
    //
    // Write your code here
    //
    
    out.close();
  }

  public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    // Set content-type header before accessing the Writer
    response.setContentType("text/html");
	  // Write the data of the response
    PrintWriter out = response.getWriter();
    
    //
    // Write your code here
    //
    
    out.close();
  }
  
  public String getServletInfo() {
    // Write your ServletInfo here
    return "ServletInfo";
  }
  
  public long getLastModified(HttpServletRequest request) {
    //
    // Write your code here
    //
    
    return -1;
  }
}
