This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving information by web.xml

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