01_exercicio/PrimeiraServlet.java
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
		
		// define objeto que será responsavel pela saida 
		PrintWriter out = response.getWriter();
		
		// pega a data atual
		java.util.Date today = new java.util.Date();
		
		// printa a saida
		out.println("<html>" + "<body>" + "<h1 align=center> Primeiro Servlet </h1>" + "</br>" + today + "</body>" + "</html>");
	}
// o meto recepera dois parametros, request: requisicao e response: resposta
o meto recepera dois parametros, request: requisicao e response: resposta
o meto recepera dois parametros request : requisicao e response : resposta
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
		PrintWriter out = response.getWriter();
		java.util.Date today = new java.util.Date();
		out.println("<html>" + "<body>" + "<h1 align=center> Primeiro Servlet </h1>" + "</br>" + today + "</body>" + "</html>");
	}
public void doGet ( HttpServletRequest request , HttpServletResponse response ) throws IOException { PrintWriter out = response . getWriter ( ) ; java . util . Date today = new java . util . Date ( ) ; out . println ( "<html>" + "<body>" + "<h1 align=center> Primeiro Servlet </h1>" + "</br>" + today + "</body>" + "</html>" ) ; }
o meto recepera dois parametros, request: requisicao e response: resposta
o meto recepera dois parametros request : requisicao e response : resposta
// define objeto que será responsavel pela saida  // pega a data atual // printa a saida