Document : index
Created on : 19.Şub.2018, 20:48:10
Author : Gökhan
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form method="post" action="goster.jsp">
<table border="2" id="ornek">
<tr >
<td> Isim : </td> <td><input type="text" name="ad"></td>
</tr>
<tr>
<td> Soyisim : </td> <td><input type="text" name="soy"</td>
</tr>
<tr>
<td> Sifre : </td> <td><input type="password" name="sifre"></td>
</tr>
<tr>
<td><input type="submit" name="gonder" value="DeğerleriGönder"></td>
<td><input type="reset" value="Formu temizle" name="sil"></td>
</tr>
</table>
</form>
</body>
</html>
<%--
Document : goster
Created on : 19.Şub.2018, 21:00:26
Author : Gökhan
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<table border="2">
<tr><td><%= request.getParameter("ad") %></td></tr>
<tr><td><%= request.getParameter("soy") %></td></tr>
<tr><td><%= request.getParameter("sifre") %></td></tr>
</table>
</body>
</html>