IDEA----创建java,jsp默认头部信息转载

原创
小哥 3年前 (2022-10-27) 阅读数 8 #大杂烩

指向本文的链接:https://blog.csdn.net/qq\_39940205/article/details/79738931
.Java设置方法:

/*
@author name
@date ${DATE} ${TIME}
/

.jsp设置方法:

<%--
Created by IntelliJ IDEA.
User: name
Date: ${DATE}
Time: ${TIME}
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

#[[$Title$]]# #[[$END$]]#

版权声明

所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除