.Are you getting a security error? (This may be because of security
manager checking where the applet was dowloaded from...)

        .or what is the error you're getting?

                .javier.

   Javier Cazares
    GE Power Systems Intranet Web Team
    1 River Road, Bldg. 40-213
    Schenectady, NY 12345
    P: (518) 385-1521
    Email: mailto:[EMAIL PROTECTED]

> -----Original Message-----
> From: Hiroshi Kasamatsu [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 10:53 AM
> To:   [EMAIL PROTECTED]
> Subject:      right URL in applet-servlet communication?
>
> URL object has to be created in programming applet-servlet communication.
> There are thought to be some ways.
> URL con=URL
> 1.(getCodeBase(),"http://serveradr:8181/servlet/MyServlet");
> 2.(getCodeBase(),"/servlet/MyServlet");
> 3.(getDocumentBase(),"http://serveradr:8181/servlet/MyServlet");
> 4.(getDocumentBase(),"/serlvet/MyServlet");
> 5.("http://serveradr:8181/serlvet/MyServlet");
> 6.("/serveradr:8181/MyServlet");
> Serlvet engine:jsdk2.1
> including applet:c:\jsdk2.1\webpages\Kasa\Kasa.html
> servlet class file:c:\jsdk2.1\webpages\web-inf\servlets
>
> On local machine,the result is good,but on internet,I used No1 way,only to
> fail.
> Which is right on internet environment? Or if all is right,what causes the
> difference between local and internet ?
>
> Hiroshi Kasamatsu
> [EMAIL PROTECTED]
>
> __________________________________________________________________________
> _
> 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

Reply via email to