Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%
- String password=null;
- String username=null;
- Cookie[] cookies=request.getCookies();
- if(cookies != null)
- {
- for(Cookie c:cookies)
- {
- if((c.getName().equals("username")))
- {
- username=c.getValue();
- }
- if((c.getName().equals("password")))
- {
- password=c.getValue();
- }
- }
- %>
- <form method="post" action="">
- <table border="1">
- <tr>
- <td>Tên ðãng nh?p</td>
- <td><input type="text" name="username" value="<%username%>"/></td>
- </tr>
- <tr>
- <td>M?t kh?u</td>
- <td><input type="password" name="password" value="<%password%>"/></td>
- </tr>
- <tr>
- <td><input type="submit" value="Ðãng nh?p"/></td>
- </tr>
- </table>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement