|
|
|
"Quick Tour of Controlling Applets" - не работает сановски пример (из туториала)
|
|||
|---|---|---|---|
|
#18+
Я выполняю "Quick Tour of Controlling Applets" из сановского туториала. Выполнил следующие шаги: 1) Сделал файл С:\Test\mypolicy Код: plaintext 1. 2. 3. 4. 5. 6. 3) Создал файл %JAVA_HOME%\lib\security\java.security Код: plaintext 1. Запускаю: e:\java\bin\appletviewer appletviewer -J-Djava.security.policy=mypolicy http://java.sun.com/docs/books/tutorial/security1.2/tour1/example-1dot2/WriteFile.html Получаю: I/O exception while reading: C:\Documents and Settings\qwerty\appletviewer (The system cannot find the file specified) Открываю в MSIE: http://java.sun.com/docs/books/tutorial/security1.2/tour1/example-1dot2/WriteFile.html Получаю: writeFile: caught security exception: java.security.AccessControllException access denied ... В чём может быть проблема? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.04.2005, 14:28 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=33005088&tid=2152627]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
42ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
19ms |
get tp. blocked users: |
1ms |
| others: | 199ms |
| total: | 294ms |

| 0 / 0 |
