Java Is the Language of Possibilities Java is powering the innovation behind our digital world. Harness this potential with Java resources for student coders, hobbyists, developers, and IT leaders.
「JAVAアプレットでは、ローカルファイル関する操作は出来ない」と解説してあるものがありますが、 正確には「JAVAアプレットでは、セキュリティの関係で、デフォルトではローカルファイルに関する操作は出来ないようになっている。」ということです。 この設定をしているのが java.policyというファイルで、これの編集してパーミッションをつけることでアップレットでもローカルファイルを操作することが出来ます。 この場合でも、無制限に許可を与えるわけではなく、どこにあるアプレットに(サーバーなど)、どこのフォルダーにあるファイルに対して、どういう操作(write、read)を許可するか ということを記述することになります。 java.policyファイルのある場所は、いくつかの場合があるようです。 すみませんが、検索機能で、自分のパソコンのどこにあるのか探してください。 これを編集する
C:\WINNT>cd \ C:\>md cert C:\>cd cert C:\cert>md org C:\cert>copy c:\Tomcat4.1\webapps\webtribe\lib\*.jar org 1 個のファイルをコピーしました。 C:\cert>dir org C:\cert\org のディレクトリ 2003/11/27 12:17 366,348 camc.jar 2003/09/28 18:14 3,244 pmc_desktop.jar 2003/10/25 06:11 332,396 RuleCommonClient.jar 2003/10/25 06:11 535,391 RunClient.jar 2003/10
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く