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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to