Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieving information by web.xml  RSS feed

Arthur Cesar Oreana
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
Boost this thread!