jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Retrieving information by web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Retrieving information by web.xml" Watch "Retrieving information by web.xml" New topic

Retrieving information by web.xml

Arthur Cesar Oreana

Joined: Nov 26, 2004
Posts: 5
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Retrieving information by web.xml
It's not a secret anymore!