pagina para usuario y contraseña

Posted on enero 8, 2010 by rpoveda.
Categories: Uncategorized.

Aqui se encuentra el código de la página(2, 5, 1) que solicita el nombre de usuario y controseña

<%@page contentType=»text/html»%>
<%@page pageEncoding=»UTF-8″%>
<%–
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library… action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
–%>
<%–
<%@taglib uri=»http://java.sun.com/jsp/jstl/core» prefix=»c»%>
–%>

<!DOCTYPE HTML PUBLIC «-//W3C//DTD HTML 4.01 Transitional//EN»
   «http://www.w3.org/TR/html4/loose.dtd«>

<html>
    <head>
        <link rel=»stylesheet» type=»text/css» media=»screen» href=»tema.css» />
        <meta http-equiv=»Content-Type» content=»text/html; charset=UTF-8″>
        <title>JSP Page</title>
    </head>
    <body>

    <h1>Deber Servlet</h1>

 

    <form name=»formulario» method=»GET» target=»_self» action=»Descarga»>
    <div align=»center»>
    <fieldset>
    <legend id=»sombreado»>Parametros</legend>
        <table class=»punteado» cellspacing=»4″ cellpadding=»0″>
        <tr>
        <td width=»95″><label >Usuario:</label></td>
        <td><input type=»text» name=»usuario» size=»20″ /></td></tr>
        <tr><td width=»95″><label >Password:</label></td>
        <td><input type=»password» name=»pasword» size=»20″ maxlength=»20″ /></td></tr>
        <tr> <td></td></tr>
        <tr>
        <td></td>
        <td><a href=»javascript:document.formulario.submit()»><img class=»ima» src=»imagenes/btningresar.png» title=»Ingresar al Sistema»/></a> </td>
        <!– <input type=»submit» value=»enviar» /> –>
        </tr>
        </table>
    </fieldset>
    </div>

    </form>

    </body>
</html>

989 comments.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>





Ir a la barra de herramientas