<%-- <%@page contentType="text/html"%> --%> <%-- <%@page pageEncsoding="UTF-8"%> --%> <%@page import="org.w3c.dom.*,java.io.*,java.net.*,java.util.*,javax.servlet.*,javax.servlet.http.*"%> JSP Page <%try{%> <%} catch (Exception x) {%> <%= "Exception" %> <%}%> <% String[] str= new String[]{"Type","Name","Speed","Stiat teken","Weight","Problem","Delete","Edit"}; %> <% m.tmp_config=application.getRealPath("xml"); %> <%m.init();%> <%if(request.getParameter("toDelete") != null) { try{ File file1 = new File(request.getParameter("toDelete")); file1.delete(); response.sendRedirect("UserTable.jsp"); } catch (Exception e){} // m.main(); }%>
<%int tmp; if(m.getCheck_pass() == 1) {tmp=str.length;} else {tmp=(str.length)-2;}%> <% for(int i=0;i <% } %> <% for(int i=0;i <% if(m.getCheck_pass() == 1) {%> <%}%> <% } %>
--- <%= str[i] %>
<%= i %> <%=Packag.Application.runners[i].type %> <%=Packag.Application.runners[i].name %> <%=Packag.Application.runners[i].speed %> <%=Packag.Application.runners[i].stiat_teken %> <%=Packag.Application.runners[i].weight %> <% if(Packag.Application.runners[i].type.equals("Rubbit")) { %> <%=((Packag.Rubbit)Packag.Application.runners[i]).nimnum %> <%}%> <% if(Packag.Application.runners[i].type.equals("Turtle")) {%> <%=((Packag.Turtle)Packag.Application.runners[i]).hitaphut %> <%}%> ">
<%-- Button Add --%>

<% if(m.getCheck_pass() == 1) {%>

<%}%>