Hi, 

At present my application is 'talking' with Jboss via specific properties
set a compile time. I would like to move those properties in a
jndi.properties file (which I would put under WEB-INF/classes). How could I
retrieve jndi.properties without specifying the exact location (which could
vary from user by user), i.e. dynamically? I tried with the following:

getServlet().getServletContext().getResource("jndi.properties"); but the
return is null.

I also tried 

getServlet().getServletContext().getResource("/jndi.properties") but the
return was the same.

I also tried to put jndi.properties in the jar file containing the
application's classes but nothing.

Any idea?

Thanks,

Marco

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

Reply via email to