server.policy
来自「Java编程安全应用实例」· POLICY 代码 · 共 9 行
POLICY
9 行
// These lines grant permissions to any code loaded from the directory shown.// Edit the directory to match the installation on your system.// On Windows systems, change the forward slashes to double backslashes: "\\".grant codeBase "file:/home/david/Books/JavaExamples2/Examples" { // Allow the server to listen for and accept network connections // from any host on any port > 1024 permission java.net.SocketPermission "*:1024-", "listen,accept";};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?