내 남자의 길~!
Ishaya
성군.story
(740)
Java
(173)
J2SE
(49)
J2EE
(4)
Spring Boot
(6)
JSP
(8)
JavaFx
(20)
eclipse
(24)
swing
(38)
SWT
(1)
ant
(8)
JMF
(3)
Etc
(10)
Window Programming
(49)
C
(13)
C++
(0)
win32 api
(16)
VB.NET
(3)
Visual studio
(14)
Programming
(7)
Python
(10)
Mobile
(1)
ProJ
(22)
GudaMail
(7)
WinExit
(5)
GudaSong
(1)
GudaFTP
(1)
GudaWinSet
(2)
GudaMoreTran
(3)
PowerBuilder
(13)
lecture
(8)
function()
(1)
Tips
(4)
DBMS
(35)
Sybase
(13)
Oracle
(8)
MSSQL
(2)
DB tool
(6)
SQL
(2)
Lecture
(2)
Web
(44)
HTML
(9)
XML
(12)
Javascript
(23)
Security
(60)
Lecture
(6)
Reverse
(5)
Assembly
(8)
UPX&MUP
(2)
Tip&Tech
(15)
Tool
(18)
Rv_works
(4)
ComputerScience
(16)
Design Patterns
(4)
SE_SQA
(2)
Tool
(9)
OS
(24)
Mac
(2)
Vista
(5)
Solaris
(1)
해킨토시
(2)
Linux
(13)
Windows
(1)
IOT
(1)
내 남자의 길
(119)
성군のstory
(43)
구입도서
(46)
구입예정도서
(8)
재테크
(13)
복싱
(4)
바이크
(5)
DevStory
(51)
Seminar
(36)
Developer story
(12)
CryptoCurrency
(2)
IT mailing
(63)
IBM DeveloperWorks mailing
(32)
microsoft mailing
(6)
sun mailing
(10)
Robocode
(7)
IBM Student Monitoring Agen..
(7)
Favorites site
(8)
Tips
(23)
Utility
(11)
/
/
블로그 내 검색
jsp 파일삭제
Ishaya seon
2011. 8. 10. 15:29
2011. 8. 10. 15:29
반응형
<%@ page language="java" contentType="text/html;charset=euc-kr"%> <%@ page import="java.io.*"%> <% String filePath = "파일경로"; // 파일위치, 폴더까지 String file_full_path = filePath + "/" + fileName; // 파일경로+파일명(확장자포함) File f = new File(file_full_path); // 파일 객체생성 if( f.exists()) f.delete(); // 파일이 존재하면 파일을 삭제한다. %>
공유하기
게시글 관리
내 남자의 길~!
+ Recent posts
Powered by
Tistory
, Designed by
wallel
Rss Feed
and
Twitter
,
Facebook
,
Youtube
,
Google+
티스토리툴바
내 남자의 길~!
구독하기