-
Applets...
Can anyone help me out with codes for uploading an image file in the server from my Applet page?
I need help in developing an applet which while execution will ask the user to upload his/her image... PLiz send me some codes for developing such an applet application..
-------------------
suresh
-
Re: Applets...
I got a sample reference link...
First of all the applet needs to be allowed to access the local filesystem. The [URL="http://faq.javaranch.com/view?HowCanAnAppletReadFilesOnTheLocalFileSystem"]HowCanAnAppletReadFilesOnTheLocalFileSystem FAQ[/URL] page describes the two principal ways to do that.
How to proceed then depends on what kind of server you have. If it's FTP, then you do the upload via Commons Net. If it's HTTP (i.e., a servlet will receive the file), then you need Commons HttpClient in the applet, and Commons FileUpload in the servlet.
--------------------
suresh
-
Re: Applets...
thanks for your useful link....