• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which policy file to change to write to a txt file

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wanted to know which policy file should be changed in WAS 5 so that my servlet can write to a file? java.policy? was.policy, app.policy ? There are also more than one policy file with same name under the WAS installation so which one should be changed?

Should the policy file be kept where it is or if I change say was.policy then should I place it under meta-inf of war?

I saw on a website that I should use the policytool but I am not sure how to use "grant codebase... etc" with the servlet of a particular application which is installed already. Do I need a jar or a class file is okay?

Please do let me know if you have any idea about this..

Thank you.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic