%
// NOTE: Do the header carefully so there is no whitespace before the <%@page pageEncoding="UTF-8"
%><%@page trimDirectiveWhitespaces="true"
%><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean"
%><%
boolean __isClient = false;
boolean __invalid = false;
int curTunnel = -1;
String tun = request.getParameter("tunnel");
if (tun != null) {
try {
curTunnel = Integer.parseInt(tun);
__isClient = EditBean.staticIsClient(curTunnel);
} catch (NumberFormatException nfe) {
__invalid = true;
}
} else {
String type = request.getParameter("type");
__isClient = EditBean.isClient(type);
}
%>