Results 1 to 4 of 4
  1. #1
    RRB
    RRB is offline Member
    Join Date
    Sep 2012
    Posts
    2
    Rep Power
    0

    Default Modify JNDI java.util.Properties in code

    Hey guys

    I have a Glassfish Custom Resource of type java.util.Properties which stores a set of IPs. I want to edit it in code to dynamically add and/or remove items.

    Is there a way of doing this? If not, what other ways exist to store settings for a servlet which can be edited / saved in code?
    What would you suggest?

    Many thanks!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default Re: Modify JNDI java.util.Properties in code

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    RRB
    RRB is offline Member
    Join Date
    Sep 2012
    Posts
    2
    Rep Power
    0

    Default Re: Modify JNDI java.util.Properties in code

    Quote Originally Posted by DarrylBurke View Post
    Yes, but nobody knows the answer over there. What do you expect me to do?

    Thanks.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default Re: Modify JNDI java.util.Properties in code

    Quote Originally Posted by RRB View Post
    What do you expect me to do?
    I would expect you to tell us about it.

    That's better expressed in this page on another site.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. jdbc (java.util.)Properties file
    By jon80 in forum JDBC
    Replies: 3
    Last Post: 04-05-2011, 08:55 AM
  2. Helped needed to modify code
    By evandevon in forum New To Java
    Replies: 8
    Last Post: 08-09-2010, 10:38 AM
  3. My code is not working properly ..modify it
    By Shyam Singh in forum New To Java
    Replies: 14
    Last Post: 07-16-2008, 06:48 PM
  4. how to use java.util.Properties?
    By christina in forum New To Java
    Replies: 2
    Last Post: 08-03-2007, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •