A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
File upload feature
Joined: Mar 27, 2007
Dec 01, 2008 23:05:00
I need to incorporate file upload feature in my project which uses
, Web services, Apache axis, XML Beans and others.
I have currently a very small idea how to incorporate this feature and while searching on net i came to know about tomahawk inputFileUpload tag which can be used for file uploading.
I would like to know about approach to design this feature.
What are the various approach to upload a file?
Currently I am aware of
1) storing the uploaded file on server harddisk in some directory
2) storing file in DB using blob.
Is there any other better approach apart from these two?
Can somebody tell me pros and cons of these 2 approaches in terms of:
4) Ease of development
Any other comments are welcome.
Also once uploaded, can files be automatically deleted from server HardDisk or DB with batchwork or something...
I agree. Here's the link:
- it saves me about five hours per week
subject: File upload feature
Passing data between pages/requests - Best practice
Uploading an Image File
JSP and XML
Unable to view uploaded files in Tomcat till server is refreshed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013