Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <form method="post" action ="LoginServlet" >
  2.  
  3. <p> USER ID: </p> <input type='text' name='user' />
  4. <br>
  5. <p> PASSWORD: </p> <input type='password' name='pass'/>
  6. <br>
  7. <input type="submit" value="submit"/>
  8.  
  9. public void doPost(HttpServletRequest request, HttpServletResponse response)
  10. throws ServletException, IOException
  11. {
  12.  
  13. String user = request.getParameter("user");
  14. String pass = request.getParameter("pass");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement