Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


[java] data files


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Violenza   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 January 2000 - 06:37 AM

So if IE wont let my applet reach out back to my IP address to download data files for a game, could I do the following? let the user download the data file (would never be more than 1) and save it to his hard drive and then have the applet prompt the user to select the data file to load? Mark Mengelt Program Analyst Phoenix, AZ

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9732

Like
Likes
Like

Posted 24 January 2000 - 09:32 AM

Most applet viewers won''t let you do that either. This in case you try to hack into confidential or system files on the host computer and then broadcast the contents over the net. You can configure some browsers to let it read the files, but most are pretty strict about not letting it happen. Besides, do you want to tell the end-user that they have to disable security on their end?

#3 Jim_Ross   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 January 2000 - 01:44 PM

What''s wrong with putting everything in a jar file?

#4 Niels   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 January 2000 - 08:56 PM

You CAN connect to the host the applet came from.

What might be your problem (if you have any ) is that some browsers consider (or at least, did previously) "origin" in this context to be not just an IP number but a specific name, protocol and portnumber. I.e. even if the name "myhost" has ip 192.123.31.2, you can''t connect to 192.123.31.2 if the browser consider your origin ro be "myhost". Also since your applet is normally transferred using HTTP on port 80, there''s no guarantee that the browser will allow any other protocol or ports than HTTP and 80....

/NJ






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS