Guest User

Untitled

a guest
Jun 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. protected void doGet(HttpServletRequest request, HttpServletResponse response)
  2. throws ServletException, IOException {
  3.  
  4. PrintWriter out = response.getWriter();
  5. String texto = request.getReader().readLine();
  6.  
  7. if (request.getMethod() == "GET"){
  8. response.sendRedirect("secondForm.html");
  9. } else {
  10. out.print("Formulario Incompleto");
  11. }
Add Comment
Please, Sign In to add comment