|
-
Sep 30th, 2005, 04:05 AM
#1
Thread Starter
Frenzied Member
JSP file i/o
Hi
How is it possible to load files from a users harddrive using jsp?
-
Sep 30th, 2005, 06:02 AM
#2
Re: JSP file i/o
Not at all. Security nightmare.
You can create a file upload form.
Last edited by CornedBee; Sep 30th, 2005 at 06:07 AM.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 30th, 2005, 06:35 AM
#3
Thread Starter
Frenzied Member
Re: JSP file i/o
I have been searching google for hours, and I have found very complex jsp implementations of it. But I only wan't something simple. I text field to contain the path, a browse button and an upload button. Do you have an example?
-
Sep 30th, 2005, 12:28 PM
#4
Re: JSP file i/o
Try http://jakarta.apache.org/ , specifically the commons-fileupload component. It's the simplest file upload thing I've seen so far in Servlets.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|