• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get all the project path?

 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to everyone,

Tomcat Manager contains all the project links. How can I get all the project paths with project name.

for e.g

application name --> student management
Path name --> c:/student/webapp

How can I get all these information. Please advise.

Thanking You.
Regards,
edi
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Three ways:
1. You can access via JMX then retrieve needed info.
2. Use Tomcat Manager list command via http
http://localhost:8080/manager/list
it will return plaintext response, which look like this:

Response can be parsed using regular expressions if needed.

3. write screen scrapper for Tomcat Manager's web GUI (use httpclient-it represents the dom tree of the html documet - easy to retrieve the information).
[ February 20, 2008: Message edited by: Pavel Cherkashin ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic