类注释
servlet模板
下面展示一些
内联代码片
。
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
* @program: ${PROJECT_NAME}
*
* @Description:
*
* @author: Mr.King
*
* @create: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}
**/
@javax.servlet.annotation.WebServlet("/${Class_Name}")
public class ${Class_Name} extends javax.servlet.http.HttpServlet {
@Override
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException {
this.doPost(request,response);
}
@Override
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException {
}
}
下面展示一些
内联代码片
。
/**
* ${description}
* @author hemenghao
* @since ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}
*/
方法注释
**
* @Description: $description$
* @Param: $params$
* @return: $returns$
* @Author: Mr.King
* @Date: $date$ $time$
*/