Files
i2p.i2p/apps/routerconsole/jsp/welcomexhr1.jsp

18 lines
740 B
Plaintext
Raw Normal View History

2018-11-15 19:05:40 +00:00
<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%><jsp:useBean class="net.i2p.router.web.helpers.WizardHelper" id="wizhelper" scope="session" /><%
String i2pcontextId = request.getParameter("i2p.contextId");
try {
if (i2pcontextId != null) {
session.setAttribute("i2p.contextId", i2pcontextId);
} else {
i2pcontextId = (String) session.getAttribute("i2p.contextId");
}
} catch (IllegalStateException ise) {}
wizhelper.setContextId(i2pcontextId);
// output 1 for complete, 0 + status string for in progress
2018-11-15 19:05:40 +00:00
if (wizhelper.isNDTComplete()) {
%>1<%
2018-11-15 19:05:40 +00:00
} else {
%>0<%=wizhelper.getTestStatus()%><%
2018-11-15 19:05:40 +00:00
}
%>