dcsimg
Proxy setProperty error : access denied
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   champion_boliao
Posted On:   Sunday, November 17, 2002 06:33 PM

Hi, I need to access an Internet webpage from my Java program so I code the following in my source code. System.setProperty ("http.proxyHost", ); System.setProperty ("http.proxyPort", ); This works perfect fine when it is a standalone program. However, when this class is used in one of my EJB server classes, I got the following error. access denied (java.util.PropertyPermission http.proxyHost write) Can someone please advice and enlighten me. Urgently, Thanks and have a nice day    More>>
			
Hi,

I need to access an Internet webpage from my Java program so I code the following in my source code.


System.setProperty ("http.proxyHost", );
System.setProperty ("http.proxyPort", );


This works perfect fine when it is a standalone program.
However, when this class is used in one of my EJB server classes, I got the following error.


access denied (java.util.PropertyPermission http.proxyHost write)


Can someone please advice and enlighten me.

Urgently,

Thanks and have a nice day

   <<Less
About | Sitemap | Contact