• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Registry

 
John Lark
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys,

I have an issue involving multiple war files. When I make a change to the registry for a variable used in one ware the second war isn't picking it up... would it be possible to put a listener in the second war file so that when I change the registry it would see the change and pick up the new variable?

Thanks,
 
Paul Clapham
Sheriff
Pie
Posts: 20742
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Registry? What's a registry?
 
John Lark
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Windows Registry
 
Paul Clapham
Sheriff
Pie
Posts: 20742
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I still don't understand. You're putting something in the Windows registry for a variable in a WAR file?

Actually I don't understand the concept of a variable in a WAR file. Perhaps you could step back a bit and tell us the context of this question.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12085
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you expect your code to work on *nix or MacOS if you put your variable in the registry?
 
Paul Clapham
Sheriff
Pie
Posts: 20742
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fred, it's possible that John is using the Preferences classes. But of course that's just a guess because we haven't been given any details at all yet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic