I think that it is security manager in RMI.

You have to setting up secutiry manager.

In case of application,

C:\>java -Djava.security.policy=java.policy <application name>


### java.policy

grant {
        permission java.security.AllPermission;
};


In case of applet, you don't warry.  Because of that is already setting up security 
policy.

but in jsp ...??? T.T

In case of JSP,  I suggest modify java.policy file.

Edit C:\>jdk1.2.2(jdk home directory)\jre\lib\security\java.policy

and then add permission java.security.AllPermission;

see in below

grant {
        // Allows any thread to stop itself using the java.lang.Thread.stop()
.............................
.............................
         // ¾Æ·¡ÀÇ ÁÙÀ» ÷°¡Çϼ¼¿ä.
        permission java.security.AllPermission;
};



---------> ¹ÞÀº ¸ÞÀÏ ³»¿ë <----------
>From : ±èÁø¹Î <[EMAIL PROTECTED]>
>>I am testing rmi in JSP.
>>Jsp engine is jswk1-0.
>>But I got Security error.
>>How do I use RMI in JSP?
>>
>>----------------------------------------------------------------
>>ÇÑ ¹ø °¡ÀÔÇÏ¸é ¸ÞÀÏ + ȨÆäÀÌÁö + µ¿È£È¸¸¦ Æò»ý ¹«·á·Î !
>>  Lycos Korea Inc.
>>  http://www.lycos.co.kr
>>----------------------------------------------------------------
>>
>>===========================================================================
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>> http://java.sun.com/products/jsp/faq.html
>> http://www.esperanto.org.nz/jsp/jspfaq.html
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
<hr>

==================================================
No. 1 ¿ì¸® ÀÎÅͳÝ, Daum
Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
http://www.daum.net

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to