Skip to content
Permalink
Browse files
JUDDI-927 fixed, tested with sun jdk8
  • Loading branch information
spyhunter99 committed Mar 17, 2015
1 parent 03bce9b commit bcd3c0771c79d8de778142b9a5f63e75a0f67fc9
Showing 1 changed file with 6 additions and 4 deletions.
@@ -21,6 +21,7 @@
--%>


<%@page import="java.util.Map.Entry"%>
<%@page import="javax.persistence.EntityTransaction"%>
<%@page import="org.uddi.api_v3.BusinessEntity"%>
<%@page import="org.apache.juddi.config.Property"%>
@@ -318,10 +319,11 @@
<pre><%
try {
Properties sysProps = System.getProperties();
SortedSet sortedProperties = new TreeSet(sysProps.keySet());
for (Iterator keys = sortedProperties.iterator(); keys.hasNext();) {
String key = (String) keys.next();
out.println("<b>" + key + "</b>: " + sysProps.getProperty(key));
Iterator<Entry<Object,Object>> it = sysProps.entrySet().iterator();
while (it.hasNext()){
Entry<Object,Object> x = it.next();
out.println("<b>" + StringEscapeUtils.escapeHtml((String)x.getKey()) + "</b>: " + StringEscapeUtils.escapeHtml((String)x.getValue()) + "<br>");
}
} catch (Exception e) {
e.printStackTrace();

0 comments on commit bcd3c07

Please sign in to comment.