Created
September 2, 2021 23:39
-
-
Save jeffersonchaves/619a893697e0a929702eee64b248edef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app; | |
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.annotation.WebServlet; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
@WebServlet("") | |
public class AppServlet extends HttpServlet { | |
@Override | |
protected void doGet(HttpServletRequest requisicao, HttpServletResponse resposta) throws ServletException, IOException { | |
resposta.getWriter().print("Olá Mundo!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment