Results 1 to 4 of 4
- 10-21-2009, 05:51 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 2
- Rep Power
- 0
upload multiple picture at one time
Hi,
I want to create a java applet that can select multiple picture at one time and upload to server.
Is there any java library or reference for me to refer and learn?
How the java can access to my personal computer and get my computer files/folder? There must be a library or function.
the applet is like facebook upload multiple picture. something like this.
I know using html and php is impossible to do that. So either flash or java.
I have learn abit about java while in school so I prefer java.
Thanks in advance.
regards,
chaiweiLast edited by chaiwei; 10-21-2009 at 06:02 AM.
- 10-21-2009, 03:30 PM #2
the applet needs to be 'signed', see jarsigner, as signing the jar files for the applet code (and any dependent libraries that the applet makes use of) will enable the applet to see the browser's local file system.
your applet would need to render a visual component like a list of files in the folder and checkboxes to select them.
and the action handler for the 'send' button could invoke a bunch of HTTP post operations to a server side file uploader receiver (such as one you would build in PHP). A good Java HTTP client is the commons-httpclient
because uploading through the HTTP POST method still only allows you to send one image at a time, but the java applet would simply invoke the HTTP post operation in succession for each selected image.
- 10-23-2009, 03:04 AM #3
Member
- Join Date
- Oct 2009
- Posts
- 2
- Rep Power
- 0
will applet able to create watermark?
Hi,
Is java applet able to watermark the image and create thumbnail when the time upload?
Thanks.
- 10-30-2009, 05:39 AM #4
There are Java API to manipulate images,
have a look here here here
likely the operation to take an image and merge a transparent layer containing the watermark and then flatten the image and write it out.. would be more processor intensive than we would want to do in a client-side applet. Would it be possible to have the server side do this. perhaps as a kind of upload action handler, after upload send the image to a watermarking component.
Similar Threads
-
:large file upload to server(chunk upload)
By tommy_725 in forum NetworkingReplies: 0Last Post: 10-16-2009, 12:21 AM -
Make multiple JTextFields focus at the same time.
By toymachiner62 in forum AWT / SwingReplies: 6Last Post: 10-09-2009, 02:59 AM -
picture backround
By safiya in forum NetBeansReplies: 1Last Post: 10-18-2008, 07:13 AM -
Picture help
By deathnote11 in forum AWT / SwingReplies: 13Last Post: 06-03-2008, 05:46 PM -
Picture in a JFrame problem
By saytri in forum New To JavaReplies: 3Last Post: 01-12-2008, 09:44 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks