• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet call to servlet (my http tunnel saga)

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic