Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post" action ="LoginServlet" >
- <p> USER ID: </p> <input type='text' name='user' />
- <br>
- <p> PASSWORD: </p> <input type='password' name='pass'/>
- <br>
- <input type="submit" value="submit"/>
- public void doPost(HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException
- {
- String user = request.getParameter("user");
- String pass = request.getParameter("pass");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement