Work around for Html5 Local File Access

后端 未结 5 1516
情歌与酒
情歌与酒 2021-01-06 16:17

We are currently looking at porting a enterprise silverlight application over to html5. The major roadblock that we have hit is the ability to open files from the user\'s lo

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 16:50

    Using java you can create a "Signed" applet which has access to the local filesystem. (if the applet is signed you can request filesystm permissions)

    then there is a tutorial for accessing methods of your java code directly from javascript here: http://docs.oracle.com/javase/tutorial/deployment/applet/invokingAppletMethodsFromJavaScript.html

    you should be able to perform something similar from silverlight.

提交回复
热议问题