<%-- 
    Document   : formbean
    Created on : 2011-06-09, 19:37:36
    Author     : Pawel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Forms and bean</title>
    </head>
    <body>
        <h1>Formularz</h1>
        
        <form action="formbeanconfirm.jsp" method="post">
            <table cellpadding="4" cellspacing="1" border="0">
                <tr><td>PESEL:</td><td><input type="text" name="pesel" /> <%= request.getParameter("peselmsg") != null ? request.getParameter("peselmsg") : "" %></td></tr>
                <tr><td>Imię:</td><td><input type="text" name="imie" /></td></tr>
                <tr><td>Nazwisko:</td><td><input type="text" name="nazwisko" /></tr>
                <tr><td>Email:</td><td><input type="text" name="email" /> <%= request.getParameter("emailmsg") != null ? request.getParameter("emailmsg") : "" %></td></tr>
                <tr><td colspan="2"><input type="submit" value="Wyślij"/></td></tr>
            </table>
        </form> 
    </body>
</html>
