diff --git b/#README.md# a/#README.md# new file mode 100644 index 0000000..de8d3e1 --- /dev/null +++ a/#README.md# @@ -0,0 +1 @@ +Instrucciones para poder utilizar la agenda es entrando en la carpeta poker(no ingrese en la carpeta agenda porque era de prueba) y al crear un registro utilice la flecha para volver ya que en el momento de crear el archivo cerrar el programa, el primer archivo se elimina. Luego el resto su uso es normal. \ No newline at end of file diff --git b/Poker/.classpath a/Poker/.classpath new file mode 100644 index 0000000..44eaeab --- /dev/null +++ a/Poker/.classpath @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git b/Poker/.project a/Poker/.project new file mode 100644 index 0000000..95563a9 --- /dev/null +++ a/Poker/.project @@ -0,0 +1,31 @@ + + + Poker + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git b/Poker/.settings/.jsdtscope a/Poker/.settings/.jsdtscope new file mode 100644 index 0000000..92e666d --- /dev/null +++ a/Poker/.settings/.jsdtscope @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git b/Poker/.settings/org.eclipse.jdt.core.prefs a/Poker/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..a698e59 --- /dev/null +++ a/Poker/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,12 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git b/Poker/.settings/org.eclipse.wst.common.component a/Poker/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..9273351 --- /dev/null +++ a/Poker/.settings/org.eclipse.wst.common.component @@ -0,0 +1,8 @@ + + + + + + + + diff --git b/Poker/.settings/org.eclipse.wst.common.project.facet.core.xml a/Poker/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..453799f --- /dev/null +++ a/Poker/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git b/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.container a/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ a/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git b/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.name a/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ a/Poker/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git b/Poker/WebContent/META-INF/MANIFEST.MF a/Poker/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5e94951 --- /dev/null +++ a/Poker/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git b/Poker/WebContent/PNG/10C.png a/Poker/WebContent/PNG/10C.png new file mode 100644 index 0000000..f9ade6d Binary files /dev/null and a/Poker/WebContent/PNG/10C.png differ diff --git b/Poker/WebContent/PNG/10D.png a/Poker/WebContent/PNG/10D.png new file mode 100644 index 0000000..a9de67e Binary files /dev/null and a/Poker/WebContent/PNG/10D.png differ diff --git b/Poker/WebContent/PNG/10H.png a/Poker/WebContent/PNG/10H.png new file mode 100644 index 0000000..df551b0 Binary files /dev/null and a/Poker/WebContent/PNG/10H.png differ diff --git b/Poker/WebContent/PNG/10S.png a/Poker/WebContent/PNG/10S.png new file mode 100644 index 0000000..22141df Binary files /dev/null and a/Poker/WebContent/PNG/10S.png differ diff --git b/Poker/WebContent/PNG/2C.png a/Poker/WebContent/PNG/2C.png new file mode 100644 index 0000000..413b0da Binary files /dev/null and a/Poker/WebContent/PNG/2C.png differ diff --git b/Poker/WebContent/PNG/2D.png a/Poker/WebContent/PNG/2D.png new file mode 100644 index 0000000..f966e48 Binary files /dev/null and a/Poker/WebContent/PNG/2D.png differ diff --git b/Poker/WebContent/PNG/2H.png a/Poker/WebContent/PNG/2H.png new file mode 100644 index 0000000..345744e Binary files /dev/null and a/Poker/WebContent/PNG/2H.png differ diff --git b/Poker/WebContent/PNG/2S.png a/Poker/WebContent/PNG/2S.png new file mode 100644 index 0000000..a0de145 Binary files /dev/null and a/Poker/WebContent/PNG/2S.png differ diff --git b/Poker/WebContent/PNG/3C.png a/Poker/WebContent/PNG/3C.png new file mode 100644 index 0000000..f8b8183 Binary files /dev/null and a/Poker/WebContent/PNG/3C.png differ diff --git b/Poker/WebContent/PNG/3D.png a/Poker/WebContent/PNG/3D.png new file mode 100644 index 0000000..cee21f3 Binary files /dev/null and a/Poker/WebContent/PNG/3D.png differ diff --git b/Poker/WebContent/PNG/3H.png a/Poker/WebContent/PNG/3H.png new file mode 100644 index 0000000..8494e1c Binary files /dev/null and a/Poker/WebContent/PNG/3H.png differ diff --git b/Poker/WebContent/PNG/3S.png a/Poker/WebContent/PNG/3S.png new file mode 100644 index 0000000..78e3b20 Binary files /dev/null and a/Poker/WebContent/PNG/3S.png differ diff --git b/Poker/WebContent/PNG/4C.png a/Poker/WebContent/PNG/4C.png new file mode 100644 index 0000000..8938459 Binary files /dev/null and a/Poker/WebContent/PNG/4C.png differ diff --git b/Poker/WebContent/PNG/4D.png a/Poker/WebContent/PNG/4D.png new file mode 100644 index 0000000..d9ae5be Binary files /dev/null and a/Poker/WebContent/PNG/4D.png differ diff --git b/Poker/WebContent/PNG/4H.png a/Poker/WebContent/PNG/4H.png new file mode 100644 index 0000000..41a4488 Binary files /dev/null and a/Poker/WebContent/PNG/4H.png differ diff --git b/Poker/WebContent/PNG/4S.png a/Poker/WebContent/PNG/4S.png new file mode 100644 index 0000000..70bc9cc Binary files /dev/null and a/Poker/WebContent/PNG/4S.png differ diff --git b/Poker/WebContent/PNG/5C.png a/Poker/WebContent/PNG/5C.png new file mode 100644 index 0000000..a7f49be Binary files /dev/null and a/Poker/WebContent/PNG/5C.png differ diff --git b/Poker/WebContent/PNG/5D.png a/Poker/WebContent/PNG/5D.png new file mode 100644 index 0000000..cff0617 Binary files /dev/null and a/Poker/WebContent/PNG/5D.png differ diff --git b/Poker/WebContent/PNG/5H.png a/Poker/WebContent/PNG/5H.png new file mode 100644 index 0000000..1efcbf3 Binary files /dev/null and a/Poker/WebContent/PNG/5H.png differ diff --git b/Poker/WebContent/PNG/5S.png a/Poker/WebContent/PNG/5S.png new file mode 100644 index 0000000..e708806 Binary files /dev/null and a/Poker/WebContent/PNG/5S.png differ diff --git b/Poker/WebContent/PNG/6C.png a/Poker/WebContent/PNG/6C.png new file mode 100644 index 0000000..d8382d3 Binary files /dev/null and a/Poker/WebContent/PNG/6C.png differ diff --git b/Poker/WebContent/PNG/6D.png a/Poker/WebContent/PNG/6D.png new file mode 100644 index 0000000..7ba40e9 Binary files /dev/null and a/Poker/WebContent/PNG/6D.png differ diff --git b/Poker/WebContent/PNG/6H.png a/Poker/WebContent/PNG/6H.png new file mode 100644 index 0000000..93a84f8 Binary files /dev/null and a/Poker/WebContent/PNG/6H.png differ diff --git b/Poker/WebContent/PNG/6S.png a/Poker/WebContent/PNG/6S.png new file mode 100644 index 0000000..874162b Binary files /dev/null and a/Poker/WebContent/PNG/6S.png differ diff --git b/Poker/WebContent/PNG/7C.png a/Poker/WebContent/PNG/7C.png new file mode 100644 index 0000000..f6a9653 Binary files /dev/null and a/Poker/WebContent/PNG/7C.png differ diff --git b/Poker/WebContent/PNG/7D.png a/Poker/WebContent/PNG/7D.png new file mode 100644 index 0000000..6c4393d Binary files /dev/null and a/Poker/WebContent/PNG/7D.png differ diff --git b/Poker/WebContent/PNG/7H.png a/Poker/WebContent/PNG/7H.png new file mode 100644 index 0000000..d4a59ff Binary files /dev/null and a/Poker/WebContent/PNG/7H.png differ diff --git b/Poker/WebContent/PNG/7S.png a/Poker/WebContent/PNG/7S.png new file mode 100644 index 0000000..895f85c Binary files /dev/null and a/Poker/WebContent/PNG/7S.png differ diff --git b/Poker/WebContent/PNG/8C.png a/Poker/WebContent/PNG/8C.png new file mode 100644 index 0000000..bc87bf0 Binary files /dev/null and a/Poker/WebContent/PNG/8C.png differ diff --git b/Poker/WebContent/PNG/8D.png a/Poker/WebContent/PNG/8D.png new file mode 100644 index 0000000..38c5695 Binary files /dev/null and a/Poker/WebContent/PNG/8D.png differ diff --git b/Poker/WebContent/PNG/8H.png a/Poker/WebContent/PNG/8H.png new file mode 100644 index 0000000..c2812aa Binary files /dev/null and a/Poker/WebContent/PNG/8H.png differ diff --git b/Poker/WebContent/PNG/8S.png a/Poker/WebContent/PNG/8S.png new file mode 100644 index 0000000..0277cc6 Binary files /dev/null and a/Poker/WebContent/PNG/8S.png differ diff --git b/Poker/WebContent/PNG/9C.png a/Poker/WebContent/PNG/9C.png new file mode 100644 index 0000000..d81b2f2 Binary files /dev/null and a/Poker/WebContent/PNG/9C.png differ diff --git b/Poker/WebContent/PNG/9D.png a/Poker/WebContent/PNG/9D.png new file mode 100644 index 0000000..e0d3d05 Binary files /dev/null and a/Poker/WebContent/PNG/9D.png differ diff --git b/Poker/WebContent/PNG/9H.png a/Poker/WebContent/PNG/9H.png new file mode 100644 index 0000000..7b679e1 Binary files /dev/null and a/Poker/WebContent/PNG/9H.png differ diff --git b/Poker/WebContent/PNG/9S.png a/Poker/WebContent/PNG/9S.png new file mode 100644 index 0000000..f58493e Binary files /dev/null and a/Poker/WebContent/PNG/9S.png differ diff --git b/Poker/WebContent/PNG/AC.png a/Poker/WebContent/PNG/AC.png new file mode 100644 index 0000000..396c158 Binary files /dev/null and a/Poker/WebContent/PNG/AC.png differ diff --git b/Poker/WebContent/PNG/AD.png a/Poker/WebContent/PNG/AD.png new file mode 100644 index 0000000..d702a39 Binary files /dev/null and a/Poker/WebContent/PNG/AD.png differ diff --git b/Poker/WebContent/PNG/AH.png a/Poker/WebContent/PNG/AH.png new file mode 100644 index 0000000..435fc14 Binary files /dev/null and a/Poker/WebContent/PNG/AH.png differ diff --git b/Poker/WebContent/PNG/AS.png a/Poker/WebContent/PNG/AS.png new file mode 100644 index 0000000..f07f67d Binary files /dev/null and a/Poker/WebContent/PNG/AS.png differ diff --git b/Poker/WebContent/PNG/JC.png a/Poker/WebContent/PNG/JC.png new file mode 100644 index 0000000..16418e4 Binary files /dev/null and a/Poker/WebContent/PNG/JC.png differ diff --git b/Poker/WebContent/PNG/JD.png a/Poker/WebContent/PNG/JD.png new file mode 100644 index 0000000..05b0389 Binary files /dev/null and a/Poker/WebContent/PNG/JD.png differ diff --git b/Poker/WebContent/PNG/JH.png a/Poker/WebContent/PNG/JH.png new file mode 100644 index 0000000..259421c Binary files /dev/null and a/Poker/WebContent/PNG/JH.png differ diff --git b/Poker/WebContent/PNG/JS.png a/Poker/WebContent/PNG/JS.png new file mode 100644 index 0000000..6e0554d Binary files /dev/null and a/Poker/WebContent/PNG/JS.png differ diff --git b/Poker/WebContent/PNG/KC.png a/Poker/WebContent/PNG/KC.png new file mode 100644 index 0000000..70c4ee5 Binary files /dev/null and a/Poker/WebContent/PNG/KC.png differ diff --git b/Poker/WebContent/PNG/KD.png a/Poker/WebContent/PNG/KD.png new file mode 100644 index 0000000..95a3b8f Binary files /dev/null and a/Poker/WebContent/PNG/KD.png differ diff --git b/Poker/WebContent/PNG/KH.png a/Poker/WebContent/PNG/KH.png new file mode 100644 index 0000000..0defcbb Binary files /dev/null and a/Poker/WebContent/PNG/KH.png differ diff --git b/Poker/WebContent/PNG/KS.png a/Poker/WebContent/PNG/KS.png new file mode 100644 index 0000000..43b8e19 Binary files /dev/null and a/Poker/WebContent/PNG/KS.png differ diff --git b/Poker/WebContent/PNG/QC.png a/Poker/WebContent/PNG/QC.png new file mode 100644 index 0000000..6f74177 Binary files /dev/null and a/Poker/WebContent/PNG/QC.png differ diff --git b/Poker/WebContent/PNG/QD.png a/Poker/WebContent/PNG/QD.png new file mode 100644 index 0000000..85c443f Binary files /dev/null and a/Poker/WebContent/PNG/QD.png differ diff --git b/Poker/WebContent/PNG/QH.png a/Poker/WebContent/PNG/QH.png new file mode 100644 index 0000000..ba8e1e4 Binary files /dev/null and a/Poker/WebContent/PNG/QH.png differ diff --git b/Poker/WebContent/PNG/QS.png a/Poker/WebContent/PNG/QS.png new file mode 100644 index 0000000..a6ef69f Binary files /dev/null and a/Poker/WebContent/PNG/QS.png differ diff --git b/Poker/WebContent/Pagina/agenda.html a/Poker/WebContent/Pagina/agenda.html new file mode 100644 index 0000000..af5a9dd --- /dev/null +++ a/Poker/WebContent/Pagina/agenda.html @@ -0,0 +1,17 @@ + + + + +Agenda + + +

Agenda

+
+ Nombre + E-mail + Telefono + Direccion + +
+ + \ No newline at end of file diff --git b/Poker/WebContent/Pagina/cartas.html a/Poker/WebContent/Pagina/cartas.html new file mode 100644 index 0000000..590208e --- /dev/null +++ a/Poker/WebContent/Pagina/cartas.html @@ -0,0 +1,21 @@ + + + + +Cartas + + +

Cartas

+
+ + Numero de Carta + +
+ + + \ No newline at end of file diff --git b/Poker/WebContent/Pagina/conversor.html a/Poker/WebContent/Pagina/conversor.html new file mode 100644 index 0000000..44b041a --- /dev/null +++ a/Poker/WebContent/Pagina/conversor.html @@ -0,0 +1,19 @@ + + + + +Convertidor + + +

Convertidor de Temperatura

+
+ + + +
+ + \ No newline at end of file diff --git b/Poker/WebContent/index.html a/Poker/WebContent/index.html new file mode 100644 index 0000000..83bec99 --- /dev/null +++ a/Poker/WebContent/index.html @@ -0,0 +1,16 @@ + + + + +Menu Principal + + +

Menu Principal

+
+
    +
  1. Convertir Temperatura
  2. +
  3. Agenda
  4. +
  5. Poker Cartas
  6. +
+ + \ No newline at end of file diff --git b/Poker/build/classes/com/roshka/bootcamp004/Agenda.class a/Poker/build/classes/com/roshka/bootcamp004/Agenda.class new file mode 100644 index 0000000..c350aa9 Binary files /dev/null and a/Poker/build/classes/com/roshka/bootcamp004/Agenda.class differ diff --git b/Poker/build/classes/com/roshka/bootcamp004/Conversor.class a/Poker/build/classes/com/roshka/bootcamp004/Conversor.class new file mode 100644 index 0000000..2cfbefe Binary files /dev/null and a/Poker/build/classes/com/roshka/bootcamp004/Conversor.class differ diff --git b/Poker/build/classes/com/roshka/bootcamp004/carta.class a/Poker/build/classes/com/roshka/bootcamp004/carta.class new file mode 100644 index 0000000..2839739 Binary files /dev/null and a/Poker/build/classes/com/roshka/bootcamp004/carta.class differ diff --git b/Poker/src/com/roshka/bootcamp004/Agenda.java a/Poker/src/com/roshka/bootcamp004/Agenda.java new file mode 100644 index 0000000..99681e8 --- /dev/null +++ a/Poker/src/com/roshka/bootcamp004/Agenda.java @@ -0,0 +1,83 @@ +package com.roshka.bootcamp004; + +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + + +/** + * Servlet implementation class Agenda + */ +@WebServlet("/agenda") +public class Agenda extends HttpServlet { + private static final long serialVersionUID = 1L; + + /** + * @see HttpServlet#HttpServlet() + */ + public Agenda() { + super(); + // TODO Auto-generated constructor stub + } + + /** + * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) + */ + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + // TODO Auto-generated method stub + response.getWriter().append("Served at: ").append(request.getContextPath()); + response.getWriter().println("hola"); + } + + /** + * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) + */ + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + String name = request.getParameter("nombre"); + String correo = request.getParameter("correo_electronico"); + String tel = request.getParameter("telefono"); + String dir = request.getParameter("direccion"); + + int contador = 1; + String ruta; + File archivo; + BufferedWriter bw; + do { + ruta = this.getServletContext().getRealPath("/Pagina/archivo"+contador+".txt"); + archivo = new File(ruta); + contador++; + + } while (archivo.exists()); + System.out.println(archivo.getAbsolutePath()); + archivo.createNewFile(); + bw = new BufferedWriter(new FileWriter(archivo)); + + bw.write(name); + bw.write(correo); + bw.write(tel); + bw.write(dir); + bw.close(); + + response.getWriter().println("\n" + + "\n" + + "" + + "Agenda\n" + + "\n" + + "" + + "Nombre: "+name+"
" + + "Correo: "+correo+"
" + + "Telefono: "+tel+"
" + + "Direccion: "+dir+"
" + + "Archivo Nro: "+contador+"." + + "" + + "" + ); + } + +} diff --git b/Poker/src/com/roshka/bootcamp004/Conversor.java a/Poker/src/com/roshka/bootcamp004/Conversor.java new file mode 100644 index 0000000..51f321f --- /dev/null +++ a/Poker/src/com/roshka/bootcamp004/Conversor.java @@ -0,0 +1,78 @@ +package com.roshka.bootcamp004; + +import java.io.IOException; +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * Servlet implementation class Conversor + */ +@WebServlet("/conversor") +public class Conversor extends HttpServlet { + private static final long serialVersionUID = 1L; + + /** + * @see HttpServlet#HttpServlet() + */ + public Conversor() { + super(); + // TODO Auto-generated constructor stub + } + + /** + * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) + */ + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + // TODO Auto-generated method stub + response.getWriter().append("Served at: ").append(request.getContextPath()); + response.getWriter().println("hola"); + } + + /** + * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) + */ + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + String tipo = request.getParameter("tipo_temperatura"); + String valor = request.getParameter("valor_temperatura"); + + double valor_temperaturaD = Double.parseDouble(valor); + + double kel = 0; + double fah = 0; + double cel = 0; + + if (tipo.equals ("kelvin")) { + kel = valor_temperaturaD; + fah = fah + (valor_temperaturaD - 273.15) * 9/5 + 32; + cel = cel + (valor_temperaturaD - 273.15); + } + if (tipo.equals("fahrenheit")) { + fah = valor_temperaturaD; + kel = kel + ((valor_temperaturaD - 32) * 5/9 + 273.15); + cel = cel + ((valor_temperaturaD - 32) * 5/9); + } + if (tipo.equals("celcius")) { + cel = valor_temperaturaD; + kel = kel + (valor_temperaturaD + 273.15); + fah = fah + ((valor_temperaturaD * 9/5) + 32 ); + } + + response.getWriter().println("\n" + + "\n" + + "" + + "Convertidor\n" + + "\n" + + "" + + "La temperatura es en:
" + + "Kelvin: "+kel+ " grados
" + + "Fahrenheit "+fah+ " grados
" + + "Celcius "+cel+ " grados
" + + "" + + "" + ); + } + +} diff --git b/Poker/src/com/roshka/bootcamp004/carta.java a/Poker/src/com/roshka/bootcamp004/carta.java new file mode 100644 index 0000000..4febbf7 --- /dev/null +++ a/Poker/src/com/roshka/bootcamp004/carta.java @@ -0,0 +1,55 @@ +package com.roshka.bootcamp004; + +import java.io.IOException; +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * Servlet implementation class Poker + */ +@WebServlet("/carta") +public class carta extends HttpServlet { + private static final long serialVersionUID = 1L; + + /** + * @see HttpServlet#HttpServlet() + */ + public carta() { + super(); + // TODO Auto-generated constructor stub + } + + /** + * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) + */ + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + // TODO Auto-generated method stub + response.getWriter().append("Served at: ").append(request.getContextPath()); + + } + + /** + * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) + */ + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + + String palo = request.getParameter("palo"); + String valor = request.getParameter("valor"); + + String ruta = "PNG/"+valor+palo+".png"; + + response.getWriter().println("\n" + + "\n" + + "" + + "Cartas\n" + + "\n" + +"" + + "" + + "" + ); + } + +} diff --git b/README.md a/README.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ a/README.md