[VID-3] Setting docker image tag
[vid.git] / vid / src / main / webapp / manifest.jsp
1 <%@ page language="java" contentType="text/html; charset=UTF-8"
2     pageEncoding="UTF-8"%>
3 <%
4         // Read contents of maven-generated manifest file.
5         final String path = "/META-INF/MANIFEST.MF";
6         java.io.InputStream input = getServletContext().getResourceAsStream(path);
7         java.io.InputStreamReader reader = new java.io.InputStreamReader(input, "UTF-8");
8         char [] buf = new char[1024];
9         int length = reader.read(buf, 0, buf.length);
10         final String manifest = new String(buf, 0, length);
11         reader.close();
12         input.close();
13 %>
14 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
15 <html>
16 <head>
17 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
18 <title>Manifest</title>
19 </head>
20 <body>
21 <h2>
22 Contents of file <%= path %>:
23 </h2>
24 <pre>
25 <%= manifest %>
26 </pre>
27 </body>
28 </html>