Hi Ashish,
Seems ok except maybe you forgot to set url to
ClassLoader.getSystemResource("approval.properties").
Also, googling gave me this link which you may find useful:
http://java.sun.com/j2se/1.4.2/docs/guide/resources/resources.html
Regards,
Geeta
Ashish Kulkarni <[EMAIL PROTECTED]> wrote on 08/17/2005 10:48:13
AM:
> Hi
> is there a problem if i do some thing like below
>
> URL url = null;
> url =
> this.getClass().getClassLoader().getResource("approvals.properties");
> if(url== null)
> {
>
> ClassLoader.getSystemResource("approvals.properties");
> }
>
>
> Ashish