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