
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
I already read the value from a xml file, but I need to store it
somewhere in the application at an application level.
The reason we need this is we aim to have 2 versions of the
application, but on 2 separate servers. What needs to happen is that
when the application deploys or loads, it reads an xml file and that
will decide what menus will be displayed based on the value.
This means it cannot be stored on the database because they both point
to the same database.
It cannot be in registry or flat file.
Any other ideas?
Regards
Simon
Malte - 26 Oct 2005 19:33 GMT
> I already read the value from a xml file, but I need to store it
> somewhere in the application at an application level.
[quoted text clipped - 13 lines]
> Regards
> Simon
If webapp, store it in web.xml
Knute Johnson - 26 Oct 2005 19:35 GMT
> I already read the value from a xml file, but I need to store it
> somewhere in the application at an application level.
[quoted text clipped - 13 lines]
> Regards
> Simon
Well I think I would store it as an instance or class variable in the
class where I read the XML file. No sense getting too complicated.

Signature
Knute Johnson
email s/nospam/knute/