This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

java security

 
ji yan
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi to all:
I am trying to load a JPEG file into my applet but there is a security exception thrown. I read a tutorial that says there is no way I can load image files on a host into my applet, but I really need to use images in my applet. Can anyone please tell me how I can achive that?
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Ji,
You can place the images in the same directory as your applet on the server and then you can load it from there.
getImage( URL );
Regards,
Manfred.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue the discussion under this thread.
This duplicate thread is being closed....
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic