<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> New Runner added



<% try{ String type=request.getParameter("type"); String runnerName=request.getParameter("runnerName"); String weight=request.getParameter("weight"); String logo=request.getParameter("runnerLogo"); String gender=request.getParameter("gender"); String uniqChar=request.getParameter("uniq"); String file; if(request.getParameter("file").compareTo("")==0) file=""; else file=request.getParameter("file"); String msg=RaceMNG.insartRunner(file,type,runnerName,weight,logo,gender,uniqChar); if(msg.compareTo("0")==0){ if(request.getParameter("file").compareTo("")==0 ){%> New Runner Was Added <% }else{%> Runner Was Update <% }%>



<% }else{%> <%=msg%>



<% } }catch (Exception e){%> <%=e.getMessage()%> <%}%> To the main page