commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan F. Martinez" <iva...@ecodigit.com.br>
Subject Re: [digester] Unable to parse xml, error on line 7: null
Date Thu, 16 Oct 2003 21:17:15 GMT

On Thu, 16 Oct 2003 11:22:17 +0530
"Vijay" <vijay.s@icicleconsultancy.com> 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message