Prev: Cannot add Rows java.lang.ArrayIndexOutOfBoundsException: 2 >=2
Next: 3 HOT DIRECT CLIENT Rek's : 1. Java Developer Analyst (6 Positions) 2. ORACLE DBA's (10g) (7 positions), 3. Portal Developer (4 positions) - Austin,TX.- 6+ months
From: Krist on 14 May 2010 05:59 Hi All, We are using Applet in our jsf/jsp application to do just ONE thing : print into local printer. To avoid the user confirmation dialog , two possible approach are : - signed the applet - add 'permission java.lang.RuntimePermission "queuePrintJob" to java.policy file on client's computer Editing the client's java.policy file seems to be a lot more simpler to do to meet our requirement. Does any more experienced java guy here have other opinion on this ? Thank you for your comments, Krist
From: markspace on 14 May 2010 11:09 Krist wrote: > Editing the client's java.policy file seems to be a lot more simpler > to do to meet our requirement. Really? You want end users to edit policy files on their own hard disc? I greatly doubt most users will even understand, let alone actually give you permission. I personally would rather use the confirmation dialog.
From: Roedy Green on 14 May 2010 21:31 On Fri, 14 May 2010 02:59:26 -0700 (PDT), Krist <krislioe(a)gmail.com> wrote, quoted or indirectly quoted someone who said : > >Editing the client's java.policy file seems to be a lot more simpler >to do to meet our requirement. This is usually extremely difficult to do. 1. you can't edit policy files that are not part of your corporation. 2. you need admin permission to do it in house. 3. You have to modify and maintain multiple policy files for all your clients. -- Roedy Green Canadian Mind Products http://mindprod.com Beauty is our business. ~ Edsger Wybe Dijkstra (born: 1930-05-11 died: 2002-08-06 at age: 72) Referring to computer science.
From: Andrew Thompson on 15 May 2010 00:25
On May 14, 7:59 pm, Krist <krisl...(a)gmail.com> wrote: > ..Thank you for your comments, I have a sense of Deja Vu. <http://forums.sun.com/thread.jspa?threadID=5439158> -- Andrew T. pscode.org |