| Author |
applet call to servlet (my http tunnel saga)
|
achana chan
Ranch Hand
Joined: Jul 29, 2002
Posts: 277
|
|
Hi again. I am thumbing thru a few books at the moment (Moss, Zukowski, O'Reilly...) I think I understand the tunnel (lite) bit, but do not see the practical value if the applet itself is on the same server and in the same directory as the servlets , in my example : As well, in the HTML script, we have the same directory : This defeats my purpose altogther ! I want to invoke the servlet from the applet, and the latter is currently a static html page. So the questions are : (1) Does it make sense to have the invoker applet in the same Apache directory as the html-scripts for the web-page ??? (2) How to I get the <Applet...> tag to look at the Tomcat server's applet directory (ie. accross the network ) ??? :roll:
|
humanum errare est.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
If I understand your situation correctly, you can't do this with a normal applet. Applets are restricted as to what URLs they can access - restricted to the originating web server. This is for security reasons. With a signed applet you can get around this restriction. Bill [ October 07, 2002: Message edited by: William Brogden ]
|
Java Resources at www.wbrogden.com
|
 |
achana chan
Ranch Hand
Joined: Jul 29, 2002
Posts: 277
|
|
Hi! Are there some authoritative books you can recommend ? I have quite a collection here, but most of them either touched upon the subject superficially or do not provide the level of detail needed. I am increasingly frustrated with this last major hurdle, which seems increasingly like an well-kept and arcane art secret.
|
 |
achana chan
Ranch Hand
Joined: Jul 29, 2002
Posts: 277
|
|
Hi again! I am also looking at serialization and I have some very basic concerns. In Zukowski's , he emphasized the security implication (or lack thereof) by writing the state of an object to a file. Can someone shed some light on this ? In the meantime, let's see what meagre doco's are available in books and online...
|
 |
 |
|
|
subject: applet call to servlet (my http tunnel saga)
|
|
|