Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using the web.xml to store settings or an alternative?

843844Apr 7 2008 — edited Apr 8 2008
Hi there,

Can anyone help, i am porting over some c# to java and of course c# (asp.net) uses a web.config which stores this like connectionStrings and Appsettings..

Where in javafaces (jsf) is the equivalent ? Is it the web.xml, if so is there some class in java that i can use to access sections of the XML config files?

Or is there another way of doing this? Possibly a different file?

Basically i want to use it for storing settings and connection strings (if this is correct place to store connection strings??)..

Any comments really welcome, thanks in advance

ian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2008
Added on Apr 7 2008
4 comments
179 views