美文网首页
servlet模版 省略没必要的注释

servlet模版 省略没必要的注释

作者: xuezhongyu01 | 来源:发表于2020-03-31 10:00 被阅读0次

<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="" enabled="true" name="serv">package ${enclosing_package};

import java.io.IOException;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

public class ${primary_type_name} extends HttpServlet {

protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

}

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

// TODO Auto-generated method stub

doGet(request, response);

}

}</template></templates>

相关文章

网友评论

      本文标题:servlet模版 省略没必要的注释

      本文链接:https://www.haomeiwen.com/subject/ecniuhtx.html