Re: read context.xml Resource attributes

2008-11-04 Thread Harry Levinson
Found a solution that uses the Connection object: String dataSource = jdbc/whatever; DatabaseMetaData dbMetaData; Connection conn = connections.get(dataSource); dbMetaData = conn.getMetaData(); String url = dbMetaData.getURL(); Thanks for your help Juha.

read context.xml Resource attributes

2008-10-23 Thread Harry Levinson
What is the proper way to read attributes of a Resource in context.xml, for example the url attribute? I am building a test web page that shows whether or not we are successfully connected to the database. Only techies inide the company will be able to view that web page, so security is not an