> Sun has a giant list of all permissions you can comb. See the link
> at http://mindprod.com/jgloss/policyfile.html
>I've looked through these docs but there is no mention of the
>permissions needed for any class in the Javax.print package.
Are you getting an exception that mentions a failed permission?
Is the problem in the URL area?
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jason Price - 22 Apr 2004 14:58 GMT
> Are you getting an exception that mentions a failed permission?
>
> Is the problem in the URL area?
I don't get any exceptions. The java plugin throws up an alert saying
this applet is trying to print do you want to allowit? with Yes/No
buttons. If you click yes the applet carries on executing but
PrintServiceLookup.lookupPrintServices(null, null) always returns a
zero length array. If I set a policy file with AllPermissions then it
all works as it should. As you say it may be somthing to do with url
or maybe sockets as the javax.print package is IP compatible. I don't
have the time to do any testing this week but I'll post anything I
find when I can run some tests.
cheers