+ Added debug infos to CreateCTHandler

main
Flavien 1 year ago
parent e3aed5b082
commit b9b5621b6c

@ -18,7 +18,7 @@ public class CreateCTHandler extends HttpServlet {
@Override @Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { 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"%> <%@include file="/WEB-INF/templates/style.jsp"%>
</head> </head>
<body> <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> </body>
</html> </html>
Loading…
Cancel
Save