File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes SecurityException while printing an image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "SecurityException while printing an image" Watch "SecurityException while printing an image" New topic
Author

SecurityException while printing an image

k ganvir
Greenhorn

Joined: Jan 10, 2007
Posts: 1
hi,

i am trying to print an image using which works fine on http and https protocols on some environmets. but it fails on one of our environments where we are using https.
This image is placed in WEB-INF folder(for security purpose) and is rendered by a servlet which authenticates the user and then renders the image.
what are the possible reasons of exception?
how do rectify the problem?
please help as soon as possible.

thanks,

k ganvir
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
Welcome to JavaRanch.

For an applet to be allowed to print, it needs to be either signed, or the local security policy altered. Which approach are you taking?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SecurityException while printing an image