<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.io.File"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String realPath = application.getRealPath(request.getServletPath());
File thisFile = new File(realPath);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss");
String modifiedDT = sdf.format(thisFile.lastModified());
%>
JSP 현재파일 생성일자 알아오기
|
2022.07.07 11:27:25
|
2022.07.07 11:31:27
|
382
|
Aiden
Total of Attached file
0.00 Bytes of 0 files
2023.07.19
2022.07.07
2021.04.02
2019.11.15
2018.11.29
2018.08.17
2018.02.08