Update MiningServlet.java

fix method error