diff options
Diffstat (limited to 'base/common')
-rw-r--r-- | base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java b/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java index a648b04d5..dee3c1930 100644 --- a/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java +++ b/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java @@ -67,6 +67,7 @@ public class GetStatus extends CMSServlet { String state = config.getString("cs.state", ""); String type = config.getString("cs.type", ""); String status = config.getString("cs.status", "unknown"); + String version = GetStatus.class.getPackage().getImplementationVersion(); try { XMLObject xmlObj = null; @@ -78,6 +79,7 @@ public class GetStatus extends CMSServlet { xmlObj.addItemToContainer(root, "State", state); xmlObj.addItemToContainer(root, "Type", type); xmlObj.addItemToContainer(root, "Status", status); + xmlObj.addItemToContainer(root, "Version", version); byte[] cb = xmlObj.toByteArray(); outputResult(httpResp, "application/xml", cb); |