<%@ page errorPage="/frames/util/jsp_error.jsp" contentType="text/html; charset=UTF-8" %> <%@ taglib uri="htmlb.tld" prefix="hbj" %> <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <%@ page import="java.text.*" %> <%@ page import="com.sap.aii.mdt.web.*" %> Message Display Tool, Version Information <% Properties props = new Properties() ; // Next search for a Properties file. final String resName = "com/sap/aii/mdt/web/package-version.properties"; InputStream stream = (InputStream)java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Object run() { return Thread.currentThread().getContextClassLoader().getResourceAsStream(resName) ; } } ); if (stream != null) { // make sure it is buffered stream = new java.io.BufferedInputStream(stream); try { props.load(stream); } catch (Exception e) { throw e; } finally { try { stream.close(); } catch (Exception e) { // to avoid propagating an IOException back into the caller // (I'm assuming this is never going to happen, and if it does, // I'm obeying the precedent of swallowing exceptions set by the // existing code above) } } } %>

Message Display Tool

Source-Codeline: <%=props.getProperty("source.codeline")%>
Source-Changelist: <%=props.getProperty("source.changelist")%>
Build-Timestamp: <%=props.getProperty("build.timestamp")%>
Specification-Version: <%=props.getProperty("specification.version")%>
Implementation-Version: <%=props.getProperty("implementation.version")%>