diff --git a/jweb-e002/build/classes/.gitignore b/jweb-e002/build/classes/.gitignore new file mode 100644 index 0000000..16d62d6 --- /dev/null +++ b/jweb-e002/build/classes/.gitignore @@ -0,0 +1,2 @@ +/clases/ +/servlets/ diff --git a/jweb-e002/build/classes/servlets/ManoDoc.class b/jweb-e002/build/classes/servlets/ManoDoc.class index a8f5e17..bb2a574 100644 Binary files a/jweb-e002/build/classes/servlets/ManoDoc.class and b/jweb-e002/build/classes/servlets/ManoDoc.class differ diff --git a/jweb-e002/src/servlets/ManoDoc.java b/jweb-e002/src/servlets/ManoDoc.java index d51e97d..997cef4 100644 --- a/jweb-e002/src/servlets/ManoDoc.java +++ b/jweb-e002/src/servlets/ManoDoc.java @@ -6,6 +6,8 @@ import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.Collections; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; @@ -56,9 +58,37 @@ public class ManoDoc extends HttpServlet { System.out.println(nombreJugada); System.out.println("************************"); + ArrayList manoString = new ArrayList(); + + for(int i=0; i