@ -18,7 +18,7 @@ public class CreateCTHandler extends HttpServlet {
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
this.getServletContext().getRequestDispatcher("/WEB-INF/index.jsp").forward(req, resp);
this.getServletContext().getRequestDispatcher("/WEB-INF/createct.jsp").forward(req, resp);
}
@ -8,6 +8,15 @@
<%@include file="/WEB-INF/templates/style.jsp"%>
</head>
<body>
<div class="container">
<h1>6-Deploy</h1>
<h2>CT creation</h2>
<ul>
<li><strong>Hostname : </strong><%= request.getParameter("hostname")%></li>
<li><strong>Cores : </strong><%= request.getParameter("cores")%></li>
<li><strong>RAM : </strong><%= request.getParameter("ram")%></li>
<li><strong>Disk (in GB) : </strong><%= request.getParameter("disk")%></li>
</ul>
</div>
</body>
</html>