This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes how can I get the JVM's information in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how can I get the JVM Watch "how can I get the JVM New topic
Author

how can I get the JVM's information in servlet

Jim Scorpions
Greenhorn

Joined: Dec 13, 2002
Posts: 4
my web application will run at multi-VM,how can i get the VM's information when invoke servlet.init() method?
thank you very much!!!
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

Hi Jim,
Unless I'm misunderstanding your question, I believe that the relevant information is available via the "properties" in the System class. Lookup the "getProperties()" and/or "getProperty()" methods.
Hope this helps.
Good Luck,
Avi.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how can I get the JVM's information in servlet
 
Similar Threads
how to get the information about a company
How to use Session Agent on Servlet
Using Tiles and html:img tag
mac address of mobile phone
Container information at runtime