hi,
I hope u can solve this problem.
I am using applet servlet communication.
till this code it's work fine in applet

URL url = new
URL("http://10.5.0.39:8080/servlet/SerResourceGroup");
                        urlConn = url.openConnection();
                        urlConn.setUseCaches(false);

urlConn.setRequestProperty("CONTENT_TYPE","application/octet-stream");
                        urlConn.setDoInput(true);
                        urlConn.setDoOutput(true);


but when i try to read using this ----

ObjectInputStream oi = new
ObjectInputStream(urlConn.getInputStream());
                        showStatus((String)oi.readObject());


it's gives error ---
access denied (java.net.SocketPermission proxy.ur
servername.com resolve)

can u pleae tell me how can i solve this problem
..Applet and servlet both r on same server.

thanx in advance.

gunjan



 there!</p>
> >
> > and then servlet-A output this:
> >
> >   </body>
> >   </html>
> >
> > then you would see this come back to the UA:
> >
> >   <html>
> >   <body>
> >   <h1>document title</h1>
> >   <p>Hello there!</p>
> >   </body>
> >   </html>
> >
> > See?
> >
> > Nic Ferrier
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to
> [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to