29 mayo 2014

xd

package sistemas.unsa;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.*;

@SuppressWarnings("serial")
public class Pw2Servlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {


resp.setContentType("text/plain");

resp.setContentType("text/html");
PrintWriter out = resp.getWriter();
String nombre = req.getParameter("nomb");
String apellido = req.getParameter("ape");
String cui = req.getParameter("cui");
String direccion = req.getParameter("dire");

out.println("Nombre :" + nombre + "");
out.println("Apellido :" + apellido+"");
out.println("Cui :" + cui+"");
out.println("Direccion :" + direccion+"");




}
}
----------------------------------------------------------------------------------------------
/* Basic Grey */
.basic-grey {
    width: 160px;
    margin-right: auto;
    margin-left: auto;
    background: #EEE;
    padding: 20px 30px 20px 30px;
    font: 12px Georgia, "Times New Roman", Times, serif;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #DADADA;
}
.basic-grey h1 {
    font: 25px Georgia, "Times New Roman", Times, serif;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom: 1px solid #DADADA;
    margin: -10px -30px 30px -30px;
    color: #888;
}
.basic-grey h1>span {
    display: block;
    font-size: 11px;
}
.basic-grey label {
    display: block;
    margin: 0px 0px 5px;
}
.basic-grey label>span {
    float: left;
    width: 80px;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}


________________________________________________________________________-

 
 
   
    Hello App Engine
 

 

    
     
 



    Nombre:
   
    Apellido :
   
    Cui:
   
     Direccion:
   
   
    
   





 
 
 

No hay comentarios: