This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes java security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

java security

ji yan
Greenhorn

Joined: Feb 15, 2002
Posts: 7
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

Joined: Jan 09, 2001
Posts: 1492
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

Joined: Mar 17, 2000
Posts: 5782
Please continue the discussion under this thread.
This duplicate thread is being closed....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java security
 
Similar Threads
Enabling a security manager for a single jar
Security manager
JApplet in browser (IE)
Security problem
security sandbox error while accessing applet from client machine.