Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void doGet(HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String texto = request.getReader().readLine();
- if (request.getMethod() == "GET"){
- response.sendRedirect("secondForm.html");
- } else {
- out.print("Formulario Incompleto");
- }
Add Comment
Please, Sign In to add comment