Click to See Complete Forum and Search --> : Track file upload progress
nedave
09-10-2008, 06:33 AM
Hi all,
I am trying to perform a file upload from a location to a fixed directory at the server. I accomplished this using only a file input object in HTML. I am having a problem to track the upload progress of an image file and to restrict the size of the image file at the server-side. I know this can be done in PHP, but I am coding in the Java programming language. Can anyone suggest how this can be done in Java? Any help is appreciated. Thanks.
Regards
Nedave
chazzy
09-10-2008, 12:32 PM
well, maybe you should start by what you're able to do so far. are you able to upload it? are you using any framework?
Khalid Ali
09-11-2008, 04:11 AM
just do a quick google search for jsp file upload progress bar and I am sure you will get many solutions on this topic
nedave
09-12-2008, 05:57 AM
Thanks for your interest in my questions. :)
Re: chazzy
I am not using any framework (I did not use JSF or EJBs because they cannot be used together with AJAX), as far as I am concerned. Unless there are some sample applications to illustrate how AJAX (in particular JavaScript and XML) can be implemented into NetBeans using any of the framework.
Re: Khalid
Yes, I did! I am using JSP and the Apache Tomcat 6.0.16 server to host my Web application in NetBeans IDE. I used both servlets and JavaBeans to handle the business logic. However, I did not find a suitable application for the server-side codings which I can customize for usage at the moment. I am using the open-source Openfire server, using the Java programming language and Info-Query (IQ). Do you have any ideas?
Regards
Nedave
Khalid Ali
09-12-2008, 07:43 AM
following phrase brings about 33,000 records on google. the first page is full of ready made solutions.
Try to implement a solution and post your specific issues and am sure some one here will be able to guide you through
"jsp file upload progress bar"
google results (http://www.google.ca/search?q=jsp+file+upload+progress+bar&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a)