Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Removing Hard Coding


Message #1 by "santosh" <santosh_nadgeri@s...> on Tue, 19 Jun 2001 17:44:34 +0530







Hi all,

I had a problem.

In J2EE we use to have some .props file in which we use to store some name 

value pairs

and use to access the value by specifying the name to a PropertiesHelper

class which makes use of

java.util.Properties. Using this it was very much possible to remove hard

coding in weblogic server.



My question is do we have similar property which can read the value from

specified file for specified name?

Purpes is only to remove hard coding. Or do we have other method of

approach.

Thanks in advance.









Santosh L. N.

Semanticspace Tech. Ltd.,

Hyderabad-33



Message #2 by "Brandon Levitt" <levittbr@m...> on Thu, 21 Jun 2001 17:57:33
If I understand you correctly, I think you are looking for the config.web 

file and a way to retrieve it's values.

For starters look here in the asp quickstart...

http://www.fmexpense.com/quickstart/aspplus/doc/configretrieve.aspx

you can also see a more advanced example in the duwamish project (.net 

version)...

http://msdn.microsoft.com/code/default.asp?URL=/msdn-

files/026/002/071/Common/DuwamishConfiguration_cs.htm

> 

> Hi all,

> I had a problem.

> In J2EE we use to have some .props file in which we use to store some 

name 

> value pairs

> and use to access the value by specifying the name to a PropertiesHelper

> class which makes use of

> java.util.Properties. Using this it was very much possible to remove hard

> coding in weblogic server.

> 

> My question is do we have similar property which can read the value from

> specified file for specified name?

> Purpes is only to remove hard coding. Or do we have other method of

> approach.

> Thanks in advance.

> 

> 

> 

> 

> Santosh L. N.

> Semanticspace Tech. Ltd.,

> Hyderabad-33

> 


  Return to Index