Nop nada :S
				
			Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
Formulario Datos
<form method="post" action="guardarPersona.jsp">
                <table>
                    <tr>
                        <td>Nombre</td>
                        <td>
                            <input type="text" name="nombre"/>
                        </td>
                    </tr>
                    <tr>
                        <td>Apellidos</td>
                        <td>
                            <input type="text" name="apellidos"/>
                        </td>
                    </tr>
                    <tr>
                        <td>Email</td>
                        <td>
                            <input type="text" name="email"/>
                        </td>
                    </tr>
                    <tr>
                        <td>Password</td>
                        <td>
                            <input type="password" name="password"/>
                        </td>
                    </tr>
                    <tr>
                        
                        <td colspan="2">
                            <input type="submit" name="enviar" value="Enviar"/>
                        </td>
                    </tr>
            
                </table>
            </form>
guardarPersona.jsp
<body>
        <h1>Guardar Persona</h1>
        
        //hacemos uso del javabean
        <jsp:useBean class="beans.Persona" id="p" scope="session"/>
        //llenamos el javabean
        <jsp:setProperty name="p" property="*"/>
        //enviamos los datos a confirmar.jsp
        <%
            response.sendRedirect("confirmar.jsp");
        %>
        
    </body>
confirmar.jsp
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Confirmar datos</title>
    </head>
    <body>
        <h1>Se guardará la siguiente informacion</h1>
        <jsp:useBean class="beans.Persona" id="p" scope="session"/>
        Nombre: <%= p.getNombre()%> <br/>
        Apellidos: <%= p.getApellidos()%><br/>
        Email: <%= p.getEmail()%><br/>
        Password: <%= p.getPassword()%><br/>
        <a href="../GuardarPersona">Guardar BD</a>
        
    </body>
</html>
Servlet  GuardarPersona.java
public class GuardarPersona extends HttpServlet {
    /**
     * Processes requests for both HTTP <code>GET</code> and <code>POST</code>
     * methods.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try 
        {
            //Obtenemos la session del cliente
            HttpSession s = request.getSession();
            Persona p = (Persona) s.getAttribute("p");
            
            DtoPersona dto = new  DtoPersona(p);
            //creamos la persona en la base datos
            dto.create();
        
            
            /* TODO output your page here. You may use following sample code. */
            out.println("<!DOCTYPE html>");
            out.println("<html>");
            out.println("<head>");
            out.println("<title>Guardar Persona DB</title>");            
            out.println("</head>");
            out.println("<body>");
            out.println("<h1>Se ha creado una Persona correctamente en DB</h1>");
           
            out.println("</body>");
            out.println("</html>");
        } 
        catch(Exception e)
        {
            System.out.println("Error al crear una persona");
        }
    }
DtoPersona.java (Clase encargada de guardar los javaBean en la BD)
package dao;
import beans.Persona;
import conexion.ConexionDB;
import java.sql.*;
/**
 *
 * @author Equipo06
 */
public class DtoPersona implements Dao
{
    Persona p;
    ConexionDB conexion = new ConexionDB();
    
    public DtoPersona (Persona p)
    {
        this.p=p;
    }
    
    
    public void create ()
    {
        try
        {
            String sql = "INSERT INTO PERSONA VALUES (?,?,?,?)";
            PreparedStatement pstm = conexion.getConexion().prepareStatement(sql);
            pstm.setString(1, p.getNombre());
            pstm.setString(2, p.getApellidos());
            pstm.setString(3, p.getEmail());
            pstm.setString(4, p.getPassword());
            pstm.executeQuery();
            pstm.close();
            conexion.desconectar();
        }
        catch(SQLException e)
        {
            System.out.println("Error al guardar en la base datos");
        }
        
        
    }
				
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Applets extends JApplet implements ActionListener
{
    //variables de referencia
    JButton b1,b2,b3,b4,b5,b6;
    int x=50, y=60, diametro=50, contador=0, n=0;
    JPanel p1;
    public void init ()
    {
        b1 = new JButton ("Aumentar");
        b1.addActionListener(this);
        b2 = new JButton ("Disminuir");
        b2.addActionListener(this);
        b3 = new JButton ("Derecha");
        b3.addActionListener(this);
        b4 = new JButton ("Izquierda");
        b4.addActionListener(this);
        b5 = new JButton ("Arriba");
        b5.addActionListener(this);
        b6 = new JButton ("Abajo");
        b6.addActionListener(this);
        setLayout (new FlowLayout ());
        p1 = new JPanel ();
        p1.setLayout(new GridLayout (3,3));
        add(p1); 
        add(b1); add(b2); add(b3); add(b4); add(b5); add(b6);
        p1.add(b1); p1.add(b2); p1.add(b3); p1.add(b4); p1.add(b5); p1.add(b6);
        add (p1, BorderLayout.NORTH);
        setSize (500, 500);
    }
    
    public void actionPerformed (ActionEvent e)
    {
        if (e.getSource()==b1)
        {
           diametro =diametro+15;     //diametro = diametro+15; //diametro+=15;
           repaint();
        }
        
        if (e.getSource()==b2)
        {
            diametro = diametro-8;
            repaint();
        }
        
        if (e.getSource()==b3)
        {
            x = x+50;
            repaint();
        }
       
        if (e.getSource()==b4)
        {
            x = x-30;
            repaint();
        }
        
        if (e.getSource()==b5)
        {
            y = y-20;
            repaint ();
        }
        
        if (e.getSource()==b6)
        {
            y = y+25;
            repaint ();
        }
    }
    public void paint (Graphics g)
    {
        Color fondo = g.getColor();
        g.setColor(fondo);
        g.setColor(Color.GREEN);
        //g.fillOval(x, y, diametro, diametro);
        g.drawOval(x, y, diametro, diametro);
        showStatus ("Barra de Estado del Applet");
    }
}
				
 Encontre la solucion
txtEntrada.addActionListener(new ActionListener ()
        {
            public void actionPerformed (ActionEvent e)
            {
                if (e.getSource()==txtEntrada)
                {
                    for (int i=0; i<N.length; i++)
                    {
                       N[i]=Double.parseDouble(txtEntrada.getText());
                       txtAsc.append(N[i]+"\n");
                       
                    }
                }
            }
        });