<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> JSP Page <% String[] list = util.Resources.list(); int num = list.length; if ( request.getParameter("action").compareTo("delete")==0) { int Tnum = (Integer.parseInt(request.getParameter("runnerNum").toString())); race.DeleteRunner(Integer.parseInt(request.getParameter("runnerNum").toString())); if(Tnum
<% race.XmlBuild(tmp); } race.DeleteRunner(num-1); } response.sendRedirect("Manage_race.jsp?action=delete"); } if ( request.getParameter("action").compareTo("Edit")==0) { race.EtidRace(Integer.parseInt(request.getParameter("runnerNum").toString())); %>
">

Type of Renner:

Speed:

Rain:

<%} if (request.getParameter("action").toString().compareTo("add")==0) { if(race.GetRain()!=0 && race.getSpeed()!=0) { race.XmlBuild(Integer.parseInt(request.getParameter("Num").toString())); response.sendRedirect("Manage_race.jsp?action=Edit"); } } %>