On Thu, 16 Oct 2003 11:22:17 +0530
"Vijay" <[EMAIL PROTECTED]> wrote:
try initializing initProp
private Hashtable initProp = new Hashtable();
V> The AppInitProperties.java file looks like this:
V>
V> public class AppInitProperties
V> {
V> private Hashtable initProp;
V>
V> /**
V> * Setter method for storing the property and the corresponding
V> name* @param name Name of the property
V> * @param value Value of the property
V> */
V> public void setProperty(String name, String value)
V> {
V> initProp.put(name, value);
V> }
V>
V> /**
V> * Getter method for getting the init-property information
V> * @param name The name of the property for which the value is
V> required
V> * @return The value of the property with the provided name
V> */
V> public String getProperty(String name)
V> {
V> //if (initProp.get(name) instanceof String)
V> return (String)initProp.get(name);
V> }
V>
V> }
V>
V> Please bear with me if I have made an obvious mistake. However, I am
V> able to digest the application tag into a different object. Thanks in
V> advance.
V>
V> With regards,
V>
V> Vijay Sargunam
V>
V> Icicle Consultancy,
V> Web: www.icicleconsultancy.com
V>
V>
--
Ivan F. Martinez
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]