可以,但只能和CODEBASE同一主机,不然,就得降低IE的安全选项。

解决方案 »

  1.   

    编辑相关目录下的。java.policy文件,并授予相关权限。
      

  2.   

    终于给我找到了一个好东西。看大家找不找到!?==========================TCPReflector
     A multithreaded java class that allows you to redirect all connections to a particular machine and port to another machine and port. 
    To download the package:
    Click  tcp.tar.gz  to download as gzipped tar file 
    Click  tcp.zip  to download as a zip file. 
    If your unzip program cannot handle long filenames (many cannot) you may also want to download this one, it handles long filenames just fine.
    Click  unzip.exe  to download 
    Once you have downloaded the package, to unpack it
    Unix: First run: gzip -d tcp.tar.gz
    Then run: tar xvf tcp.tar
    PC:Run: unzip tcp.zip 
    Now you will have created a directory called TCPReflector.  To run the program, change
    to that directory and run the following command:   java TCPReflector -port 8888 -dest www.cnn.com:80Now put in the following URL into your favorite web browser 
       http://localhost:8888/Viola, it takes you to cnn's homepage! 
      Other potential uses for this program:
    To allow an applet to talk to a socket not located on the host from which it was served.  You
    run the TCPReflector back on your server on a known port (which could be supplied to the
    applet via the PARAM tag) and set it up to connect the the host and port your applet needs to 
    connect to.  Then have your applet connect to the TCPReflector and it'll behave as if your applet
    has a direct connection to that host and port
    To "spy" on a particular network protocol in order to determine how it works.   In the example using
    cnn's site above, if you add the additional switch "-echo" when you run the reflector you'll get to see
    the http protocol in action as your browser communicates with the web server 
       * Modifications
     *      1999-12-07 by Carl Forde [email protected]
     *              1 - changed args -echo -quiet are default
     *              2 - added -noecho -verbose
     *      1999-10-14 by Carl Forde [email protected]
     *              1 - removed extraneous "\n"
     *              2 - default destination port is 80
     *              3 - timestamp source/dest messages
     *              4 - changed names to client/server, server/client
     *              5 - added hex dump display
       Back to the java page ...