Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving information by web.xml

 
Arthur Cesar Oreana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. My name is Arthur. I'm a Brazilian developer (sorry, my English is bad).

I would like to know how I do to retrieve/obtain information in the file web.xml, in a tag url. Example:

<Resource name="jdbc/employee" type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
url="jdbc ostgresql://localhost:5432/appTest" username="postgres" password="postgres"
maxActive="50" maxWait="-1" maxIdle="10" removeAbandoned="true" logAbandoned="true" />

I need this information:

"jdbc ostgresql://localhost:5432/appTest".

Could anybody help me?

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic