April 16th, 2003, 08:18 AM
Java Applet Problem
This is a quite urgent problem....
I have uploaded an applet onto my web page. It takes an image as input, embosses it and displays it.
At the moment the input is a text field that takes a url.
I want to create an upload or open file button as well, so that it is possible to input an image that is stored on the users computer. In addition I need a save function to save the altered image. Can I use the JFileChooser???
Is this possible using an applet, and if it is - where can I find some more information about this?
Thanks in advance!!!
April 17th, 2003, 08:57 AM
You will need to make a multi-part form that uses a "file" form field for the user to upload a file. You then need some sort of package that allows the servlet/jsp to get the file once uploaded. A common one is the O'Reilly package. You can find more information in this forum by using the search function and looking for this. Here is a lnk to the oreilly package