Hi,
I have some concerns as explained below :
Presently there is File Upload requirement in our application.This is a web application deployed in
Jboss and has Oracle as Database.We also have a File Server for file storage.We are using
Struts as the controller and there are no
J2EE layers as such(no transaction..plain vanilla web application...!!).
So presently when the user clicks the Mass Upload button an
Applet open which allows the user to browse and select the files to be uploaded.Once the submit button is clicked the files are sent as described below -
(1)first the file content is streamed to a Temp directory in the web server(TCP/IP tunnel..).
(2)the file content is then streamed to the file server (another TCP/IP tunnel).
(3)finally user is intimated the success/failure message. We are analyzing the pros/cons regarding this approach and trying to find out ways to improve.Our conclusion so far:
(a)Since we are sending data through TCP/IP there are no size restrictions.Files of any size can be sent.Most web browsers have 2GB and size restrictions so the reluctance of sending data through http.Also it might not be practiccal enough to send large files in http.
(b)Users can browse to other pages in the application without affecting the file upload process. Please help and suggest ways to improve.
SCJP5 -
To repeat what others have said, requires education, to challenge it , requires brains.