Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 21st, 2006, 12:43 PM
Registered User
Join Date: Jan 2006
Location: chennai, tamil nadu, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to virtual_manu
Default upload file in server ( in folder NOT in database)

 hi guys,

     please help me with JSP code for uploading files mainly images on my server ( in folders NOT in database). It is urgently required... help me buddies :D

Reply With Quote
  #2 (permalink)  
Old January 21st, 2006, 08:10 PM
Friend of Wrox
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts

You should look at the Apache Commons FileUpload project (http://jakarta.apache.org/commons/fileupload/) as a way to parse the POSTed images and provide you InputStreams for them. Then you just need to take the InputStreams and write them into your folder.

Jon Emerson
Reply With Quote
  #3 (permalink)  
Old February 20th, 2006, 08:39 AM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

commons-upload.jar is certainly the best thing to give a try and it can be found from apache group you can also experiment with orielly's cos.jar which can be found at http://servlets.com/cos/

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to upload image into sql server database avnishraj23 General .NET 1 December 4th, 2007 02:20 PM
how to upload folder from client to server hemaneelagiri ASP.NET 1.0 and 1.1 Professional 2 July 18th, 2007 06:10 AM
Upload a file to sql server database thas123 ASP.NET 1.0 and 1.1 Professional 3 January 9th, 2006 12:29 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM
RE:Allowing web server to access database folder joshil Access ASP 1 April 18th, 2004 01:38 PM

All times are GMT -4. The time now is 12:35 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.