How can I allow a user (client) to choose a local image file (on his hard d

How can I allow a user (client) to choose a local image file (on his hard drive) and modify it using an applet from his browser ? I am trying to develop a web page that enables the user to choose an Image file, manipulate the image using a java applet, and display the results.
Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. On the other hand, I can choose and upload any file using a JavaScript form:
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="process.asp">
<INPUT TYPE=FILE NAME="file1"><BR>

It seems that I can choose an image file with a Java script form and process an image with an applet. How can I choose a file AND process it locally ?
(I do not wish to upload the file to the server using JavaScript form and then back to the client�s applet for processing since it will be a tremendous waste of resources).
Will appreciate any solution.
Thanks !
( my email is: [email protected] )

"Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. "
You can do this if you sign the applet...

Similar Messages

  • How can I allow other users on my macbook to view my iphoto library when th

    How can I allow other users on my macbook to view my iphoto library when they are logged in. I do not have a network, and the users (my family) all log in seperately when they use the computer. Does anyone know? Thank you.

    rdoss
    Welcome to the Apple Discussions.
    If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

  • How can I possible lose my entire photo library/ referenced master image file if I have downloaded all my images directly onto Aperture?

    How can I possible lose my entire photo library/ referenced master image file if I have downloaded all my images directly onto Aperture?

    CeliaJane, you need to distinguish between the Aperture Library and the Aperture Application.
    Aperture stores your images in a database, and it is this database that we have to find and probably to repair, not the application (hopefully). And since you do not see any images, I suspect that Aperture created a new, empty Aperture Library,and you are now viewing this empty library. Usully the library sits in your Pictures fiolder.
    Look into your Pictures folder, if you see a file with a colorful icon with three pictures, called something.aplibrary, as shown above. And also enter ".applibrary" into the "Spotlight" searchfield in the upper right corner of your screen. If you have more than one Library, you should be able to find them this way.
    The largest file you find will probably be the correct library.
    When you have found the correct file called aperturexxxx.aplibrary, try to open it in "First Aid" mode.
    Select the Library and press down "command" and "option" key at the same time, while you double click the library.
    Now the First Aid dialogue should appear:
    Select: Repair Permissions" and see if you can open the Library again. If it did not help, try the other two options in turn.
    Regards
    Léonie

  • How can I allow network users to use File Sharing on 10.8 Server?

    I am in the process of setting up a new OS X 10.8 Server. I have exported/imported the network users from my previous OS X 10.6.8 Server using Workspace Manager. I have re-entered the passwords of the users. I have existing clients running (stil logged in).
    I have set up the File Sharing service in Server.app. I have several mount points. I have made the Users mount point available for home directories over AFP.
    Now, the system administrator can connect to the server and get access to the file shares. So the basic file sharing system works.
    Also: the users on a client can get there password verified (e.g. when unlocking screen protection) by the server. It is just AFP they can't get access to, while the system administrator account (OD /Local on the server) can be used. So, the password in the server is OK too. It seems to be a matter of privileges.
    But no network user (OD user in directory /LDAPv3/127.0.0.1 on the server) can get access. Where can I give network users privileges for File Sharing on the server?
    I did try to add either the "Open Directory Users" group or a specific user that was imported into com.apple.access_afp. If I do that, there is partial success. I can connect to the server from the client with a user account other than system administrator from the server (but connecting is slow). But Mobile Home Sync does not work:
    1:: [13/04/05 16:11:10.379] Scheduling next sync of "HomeSync_Mirror" at 2013-04-05 14:11:20 +0000
    1:: [13/04/05 16:11:20.782] ==========================================================
    0:: [13/04/05 16:11:20.782] Starting automatic sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:20.786] Peer "network" reports changes since last sync.
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = NO
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS:0x7fd5a5009520> = local, optionalStoreID = (null), peer.storeIDString = *
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Users/gerben
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/gerben/.FileSync/store.filesyncstatetree
    1:: [13/04/05 16:11:20.787] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Users/gerben', targetName='gerben', volumeName='Macintosh HD', type=DIR, volumeCreateDate=2010-08-10-12:58:16, targetCreateDate=2011-08-28-18:39:13, parentDirID=37638, nodeID=3003598, filesystemID=0000 ('0000'), signature=0x482b ('H+'), isBootVolume=YES, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='file://localhost/'}
    0:: [13/04/05 16:11:20.789] -[SPeer_FS _mountServerCallbackShares:status:]: received error 64
    0:: [13/04/05 16:11:20.790] EXCEPTION: _mountServerCallbackShares:status: (Host is down) <-[SPeer_FS mountPeerVolumeWithURLString:] (Peer-FS.m:446): "'(-1)' error 64">
    0:: [13/04/05 16:11:20.790] USERINFO: {
    0:: [13/04/05 16:11:20.790]     NSLocalizedDescription = "Host is down";
    0:: [13/04/05 16:11:20.790] }
    0:: [13/04/05 16:11:20.790] BACKTRACE: {
    0:: [13/04/05 16:11:20.790] ? | 0x105cb79b7  
    0:: [13/04/05 16:11:20.790] ? | 0x105cbf0e5  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2c866  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2babd  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2acb4  
    0:: [13/04/05 16:11:20.790] ? | 0x7fff858bb72a
    0:: [13/04/05 16:11:20.790] ? | 0x7fff858bb6a2
    0:: [13/04/05 16:11:20.790] ? | 0x7fff874cf8bf
    0:: [13/04/05 16:11:20.790] ? | 0x7fff874d2b75
    0:: [13/04/05 16:11:20.790] }
    1:: [13/04/05 16:11:20.790] Peer "network" is unable to sync. (-[SPeer_FS mountPeerVolumeWithURLString:] (Peer-FS.m:446): "'(-1)' error 64")
    0:: [13/04/05 16:11:20.790] Peer "network" is unable to sync. Not enough peers will be available to continue syncing.
    0:: [13/04/05 16:11:20.790] Aborting sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:20.790] -[SPeer abortSync] "local"
    1:: [13/04/05 16:11:20.797] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/gerben/.FileSync/.fstemp.QW1Gh-bhvgEhVwmG3.noindex')
    0:: [13/04/05 16:11:20.798] EXCEPTION: !IF <-[SPeer(protected) doPrepareForSyncWithResolvedConflicts:] (Peer.m:1149): "'(([self checkAbort]))'">
    0:: [13/04/05 16:11:20.798] BACKTRACE: {
    0:: [13/04/05 16:11:20.798] ? | 0x105c2bb66  
    0:: [13/04/05 16:11:20.798] ? | 0x105c2acb4  
    0:: [13/04/05 16:11:20.798] ? | 0x7fff858bb72a
    0:: [13/04/05 16:11:20.798] ? | 0x7fff858bb6a2
    0:: [13/04/05 16:11:20.798] ? | 0x7fff874cf8bf
    0:: [13/04/05 16:11:20.798] ? | 0x7fff874d2b75
    0:: [13/04/05 16:11:20.798] }
    1:: [13/04/05 16:11:20.798] -[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:476): unlink('/Users/gerben/.FileSync/store.filesyncstatetree.statetree_dirty')
    1:: [13/04/05 16:11:20.798] Peer "local" is unable to sync. (-[SPeer(protected) doPrepareForSyncWithResolvedConflicts:] (Peer.m:1149): "'(([self checkAbort]))'")
    0:: [13/04/05 16:11:20.798] Peer "local" is unable to sync. Not enough peers will be available to continue syncing.
    1:: [13/04/05 16:11:20.798] EXCEPTION: SFAbortedException <-[SSyncEngine _waitForPeers:] (SyncEngine.m:1922): "'(_abort)'">
    1:: [13/04/05 16:11:20.798] -[SSyncEngine threadMain_SyncEngine_sync:]: sync failed with exception "-[SSyncEngine _waitForPeers:] (SyncEngine.m:1922): "'(_abort)'"".
    0:: [13/04/05 16:11:21.066] Sync of "HomeSync_Mirror" encountered errors. (_mountServerCallbackShares:status: (Host is down))
    0:: [13/04/05 16:11:21.067] Last successful sync completed at 2013-04-04 20:17:15 +0000.
    0:: [13/04/05 16:11:21.067] Finished sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:21.067] Scheduling next sync of "HomeSync_Mirror" at 2013-04-05 14:31:21 +0000
    1:: [13/04/05 16:11:21.284] 1-pass sync of "HomeSync_Mirror" took 0.02 seconds

    Hi Gerben,
    Try creating a brand new user, that's not imported and see if that works. Every user/group has a little gear in the Server.app/Users or Groups which allows specific access to specific services, perhaps filesharing is off in that section?
    Is your DNS setup properly? Can you verify that clients can see the FQDN of your server?
    After setting up the Users folder for mobilehomes, did you check whether the group and the separate users have access to filesharing? I am able to select the correct homefolder /Users and restrict the homefolder size.
    Goodluck!
    Jeffrey

  • How can I allow Contribute Users to save documents somewhere other than "docs"?

    Our website was rebuilt by an outside company, who took my file structure and dumped it into the new site (I use Dreamweaver and our staff uses Contribute for their little niche of the web). We have a large site with multiple folders within the site. Those folders have several folders below them to sub-divide the tons of info we have to keep straight. However when I set up the parameters for the Contribute users, I only seemed to have one option to save documents (the "docs" folder).
    I need for Contribute users to be able to save documents/files deeper in the file structure. How can I do that?
    Thanks for any assistance! I hope this made sense.
    Mark

    The answer depends on how "good" your Contribute users actually are. By default, Contribute always places documents in the same folder as the page in a "documents" folder. I see two potential options: (1) the user(s) needs to go to the where the document needs to live and place the link at that level or (2) you can show your user the "Publish File From My Computer" (under file, in the third section) which would allow them to place the document in the correct location and then link to it from whatever page is appropriate. Personally, that would be a last choice.

  • How can I allow the user to pause the audio of a slide (and restart it) before continuing on to the

    Most of my slides have a combination of test/graphics and voiceover.  I would like to allow the user to pause, resume, and replay the audio of each slide.  I know, as a learner, I sometimes need to go back and hear something again -- or pause until a distraction has passed.
    How can I tie audio to a playbar or set of buttons?  I know if it's video, it can be done.  How do I give them control of the audio? 
    I am in Captivate 7.  My files are .mp3 files.
    Thanks - TL

    You cannot add extra buttons to the playbar but you could add a Replay button to the slide and have this button execute a Standard Advanced action with a Jump to Slide action that points to the same slide you are currently on.  This should effectively jump your user back to the beginning of the same slide.

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How can I allow normal user change their LDAP password?

    I use Solaris10 + Sun Directory server 5.2SP6 + Samba, how can allow normal user change the password themselves?
    Thanks.

    Depends on application you are using. I use ColdFusion and here is how I allow users to change their passwords
                        <cfldap action="Modify"
                             dn="uid=#form.UserLogin#,ou=your_ou,dc=example,dc=com"
                             attributes="userpassword=#FORM.newPassword#"
                             server="#servername#"
                             Port="#portnumber"
                             username="uid=#form.UserLogin#,ou=your_ou,dc=example,dc=com"
                             password="#form.userpassword#">

  • How can I allow a user to control my Edge Animation using only the scrollbar?

    I have seen a few examples of an Edge Animation being conrolled by the scrollbar, and I am wondering how I could achieve the same effect.
    Example:
    http://dominikruckli.ch/scrolltest/scrolltest.html
    I have searched the corners of the internet and have found 2 or 3 different tutorials, but none of them have proven successful.
    In basic terms, I am creating an animation that involves a character getting from Point A to Point B, from the beginning of my timeline to the end.
    Rather than exporting my animation so that it plays automatically, by itself, I would like for a user to scroll vertically, and the playing of the animation moves in conjunction with the scroll bar.
    As the user scrolls from top to bottom on the scrollbar, the character in my animation moves from Point A to Point B.
    Also, if the user stops scrolling... the character will stop moving as well.
    In addition, I would like the surrounding area, outside of my stage, to remain hidden. I do not want to allow the user the ability to scroll around and see off of my designated stage area. I only want the scroll bar to act as a playhead for the animation.
    Any help will be greatly appreciated.
    Thank you
    Note:
    If you have special CSS (or other form of Code), please provide specific instructions on how to insert this code, where it should be located, what part(s) of the code should be altered, and any additional instructions on how to apply any form of coding. (Screenshots would be amazing)

    Never mind.  I figured it out myself.  I changed the myComp.play("scenefour"); to myComp.getStage().play("scenefour"); and it worked fine. 

  • How can I allow multiple users to edit a single shared iCal calendar?

    Is it possible to allow multiple users to edit a single shared iCal calendar? I also want to provide different permissions to those users. Is this possible through .MAC? Is it possible on Mac OSX Server?

    I would like 2 agenda synced through .Mac but it does not work.
    I have 2 computers and 2 laptops. A very simple agenda with 3 calenders. Myself my partner and the office calender. I want to publish my calender and that of my partner. The office calender I would like to sync so that we can change the office calender at any location.
    I set up sync only for iCall and have a .Mac account. When I change anything on any of the calenders in iCall nothing happens on any of my other locations. Even though the locations are registered as synced. I can see the sync wheel turning but at the end of it the calenders are not synced.
    At this moment I fully understand the publish and unpublished calenders but have no clue what so ever what syncing does for iCall. There seems to be no functionality to it. It does not transport any calender info over .Mac. There is no visable check to see what is happening and the process of syncing is not transperent. Lots of my friends go to me for advise on Apple issues but as far as sync wether iCall or Addressbook I always tell them sync does not work and I have no clue why others have it working. I haven't met any people here in Holland either that got in working. I suppose with iCall you have to get third party software to share calenders editable calenders. Really hopeless situation, wish Apple would just have a manual stating what sync can do and what it can not. Hours wasted on this issue trying to get it to work.
    Hope anyone here can help out.

  • How can I allow the user to retake a quiz from the middle of it in Captivate 7?

    Hello Captivaters,
    I would like to force the learner to pass a quiz before he can continue on with the training.  If he doesn't pass the quiz, he will need to go back and take it again. The "retake" button allows him to do this, but I will actually like to have 4-5 of these "quiz checkpoints" in the eLearning -- each separated with presentation material --  so that the user proves he understands the material before advancing. 
    Therefore I would like to create my own "retake" button at the end of every "quiz checkpoint" that takes the learner back to the first question of that checkpoint (not to the first question in the training).  So far, I have been able to create a button that appears after he gets a certain amount correct to allow him to continue, and I want to create a button that appears that takes him back to the first question in the checkpoint if does not get the required amount correct and retake those questions.  The first part is easy, but I also need to add the function or reassign some variable to allow the user to retake the quiz. I hope I am making sense.. Any help would be much appreciated!
    - Ryan

    It's great!  Thanks again.
    Here is the issue now.  I guess it's not a huge problem, it's just if I can't find a better way, what I need to do will take a lot of time.
    Like I mentioned before, I created this "results" slide that on enter either shows a "congrats" button or a "retry" button, depending on whether or not the user passed the quiz.  I have copied this slide and pasted it behind all of the other sub-quizzes in the training, but when I do that, of course the link between the buttons and the conditional advanced action break.
    As you know, when you duplicate a slide, all of the names of the objects on that slide are "refreshed" and are replaced with new generic names because you are in fact creating new objects as well.  This means that I need to rename all of the objects on that slide (even though its a duplicate) and then replace all of the "old names" in the advanced action with these new object names..   Is there a faster way to do that?
    Thanks again!!
    Ryan

  • How can I allow multiple users on XP pro to use the same itunes files

    I'm new to this iPod/iTunes stuff and i would like to allow my family to use all the songs that I have on the computer. I installed iTunes 7.0 and loaded all 1800 songs using my user profile. I then let my wife signon and when i opened iTunes she couldn't see all the songs. I placed the iTunes directory in the /All Users/Shared Documents/shared music folder and i made the change to the iTunes preferences.
    Other users on the same machine still can't see all the music.
    What am I doing wrong?

    You're half-way there, GrezGolfer.
    To get to the finish line, make sure it's the iTunes Music folder, not the iTunes folder, you've put in the Shared Documents folder. (see http://docs.info.apple.com/article.html?artnum=93195 for details.)
    And finally, follow the instructions in the last part of that Knowledge Base article for each user - File menu > Add Folder to Library ...

  • How can we allow internal users to access internet through ASA firewall?

    Hello,
    I am new to security track, i have been asked to setup lab and allow users from inside firewall to access internet. here is my lab setup
    PC -> switch 1 (layer2) -> (inside) ASA (outside) -> switch 2 (Layer2) -> Router
    does switch 2 port needs internet access through router?
    what configuration required on ASA to allow users behind the firewall to access internet?
    any help on this would be much appreciated.
    thanks,

    Hi,
    Okay , can you clarify on this for me. Are you able to ping the internet from the ASA outside interface ?
    Just try something like this:-
    ping 4.2.2.2 .. Does this work ?
    If this does not work , then i think the ASA even is not able to get to the internet and that would be a problem on the router.
    Also , internet from Switch 2 is not a requirement as that is only a Layer 2 device.
    You can assign the ISP allocated address on the PC , connect it to the Switch 2 port and then try to ping something on the internet or surf internet and i think that should work.
    Thanks and Regards,
    Vibhor Amrodia

  • How can I allow standard users to update creative cloud without admin rights.

    I have over 300 users in a domain environment  and I cannot allow them to have admin rights on the machines.Is there a Registry hack or key that we can adjust to allow CC to update without these rights?

    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How do I allow my users to set the option to save a new timezone for future sessions?

    The option to save a newly selected timezone for future sessions has been greyed-out
    in the Calendar Client. How can I allow my users to choose this option?
    <P>
    This is controlled by the settimezone setting on the Calendar Server. By
    default, it is set to FALSE. You can change the value to TRUE in the
    unison.ini settings. The
    Calendar Server must be restarted for the change to take effect.

    Hi,
    Based my research, OOB SharePoint don’t allow anonymous users to contribute contents(Edit, Upload and Add) into list and library.
    This is by design behavior, and it’s a consideration about security in order to help protect your site from potential script injection attacks.
    For anonymous users, only the View Item permission is available for libraries.
    If you want to know more about this, please refer to
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/enable-anonymous-access-HA010113018.aspx
    Hope this helps
    Thanks!
    Stanfford

Maybe you are looking for

  • Error creating the agreement.

    Hi , I am new to B2B. I tried to do the custom XML document tutorial from the Oracle B2b user guide. I got the following error while creating an agreement. Can some one help me. There was an error creating the agreement. Error -: AIP-11052: Writing f

  • Is there TOC feature in Pages for iPad?

    Is there TOC feature in Pages for iPad?

  • Help on - Multiple IDOC to single flatfile (without BPM)

    I got a business need, that the ORDERS05 IDOC's should be collected on hourly basis and single flatfile should be generated for each and every hour. This scenario can be easily handled through BPM but I need the problem to be solved without BPM. Plea

  • No export form Motion

    Hi - reaching critical point on a project and typicall the problkems are kicking in. I can't seem to export from Motion having had no problems up to this point. I'm working in Motion 3.0.2 on Leopard with a title sequence that uses PSD files. When I

  • My Youtube videos have no volume. Not muted, speakers on. Can you help?

    Started about 3 weeks ago. My Flash and Silverlight add-ons are enabled. I am signed in and 'Youtube' is being allowed to play. Everything looks okay. Can you help? Thank you