----- Original Message -----
From: "Bai Shen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, September 26, 2008 10:30 PM
Subject: Accessing server directory from applet
I have an applet that I'm hosting on Tomcat. When I try to access the file
system, I end up on the users file system, not the servers. Is there a
way
to connect to the servers file system?
Bai Shen
Bai I'm actually surprized you didnt get a security exception... as Mark
said applets run in the browser... client side.
The last time I looked at Applets (long long time ago), they dont need any
special security if you talk to the delivery server...
Remember that... if you want to talk to any other server... you into
security issues.
Things like the script coming from one machine and the applet from another,
will also catch you...
I think they horrible things... if this is a new project, have a look at
GWT... or think about a normal web page... if you can.
Will save you some pain....
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]