i copied the 'config.properties' file to WEB-INF\classes and accessed it
from inside a bean using


this.getClass().getClassLoader().getResource("config.properties").getPath().
toString()

ang got

        N:/webapps/Java/Project/WEB-INF/classes/config.properties

i hope the is no downside to this

cheers

good work


---------------<*>----------------------
José Moreira

Técnico de Informática | IT Technician

Vila Nova de Gaia, Portugal

E-Mail: [EMAIL PROTECTED]

MSN: [EMAIL PROTECTED]

ICQ: 136936120

IRC: ethernal (irc.ptnet.org)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to