Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SecurityException while printing an image

 
k ganvir
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic