commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: HttpClient in an applet
Date Wed, 20 Aug 2003 18:58:44 GMT
Hello Luke,

HttpClient accesses a number of system properties.  This is a problem 
when running in an unsigned applet because of the security manager. 
Currently, signing the applet is the only way to get HttpClient working 
in this situation.

Mike

luke cassady-dorion wrote:

> is there any reason the HttpClient should not work in an applet? i am
> connecting back to the same server and port (localhost:8080) that the
> applet is hosted on but i get this error.
> 
> java.lang.ExceptionInInitializerError 	
> 	at
> org.apache.commons.httpclient.HttpState.<init>(HttpState.java:161)
> at org.apache.commons.httpclient.HttpClient.<init>(HttpClient.java:143)
> 
> 	at
> org.apache.commons.httpclient.HttpClient.<init>(HttpClient.java:128) 	
> 	at
> com.netraker.ui.editor.EditXMLApplet.getNRDL(EditXMLApplet.java:41)
> at com.netraker.ui.editor.EditXMLApplet.init(EditXMLApplet.java:20)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


Mime
View raw message