I am just wondering if i want to delete a file using coding how can i do it using jsp?
Example i have a file name pig.jpg in my root folder and I wish to delete this file as i no longer use this any more how can i do this using coding?
dreamer14
0
Light Poster
Recommended Answers
Jump to PostYou should create some sort of view (in JSP) where user can browse the whole web folder structure something like this
with some buttons on the bottom (I cut that off image would be to big)
Then let the user mark the file/folders for deleting. User hit the delete …
Jump to PostServlets are essential in Java web development so you will not escape them if you considering job related to Java development. Sooner or later you will have to face your enemy and I would say do it now, because now you will learn easier then later to try put a …
All 7 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
dreamer14
0
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
dreamer14
0
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
rockonjava
-1
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.