| Author |
accessing JDK information from .jsp page
|
Sara Watson
Greenhorn
Joined: Nov 18, 2003
Posts: 10
|
|
I want to display the JDK version that is being used by my web server. How can I access that information from my .jsp page? What object/method call will give me that info? Thanks for your help, Sara
|
 |
Mike Firkser
Ranch Hand
Joined: Oct 21, 2003
Posts: 246
|
|
The following code will print out on your jsp page, a bunch of properties: That prints out a bunch, but I found a property called "java.version" that may be what you're looking for.
|
Mike Firkser
Rutgers '84
|
 |
Mike Firkser
Ranch Hand
Joined: Oct 21, 2003
Posts: 246
|
|
|
There is also a property called "java.runtime.version". Print them all out on a test page and see what you need.
|
 |
Sara Watson
Greenhorn
Joined: Nov 18, 2003
Posts: 10
|
|
Thanks Mike. That's just what I needed.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: accessing JDK information from .jsp page
|
|
|