domingo
abr012001
Cómo hacer el primer servlet
domingo, abril 1, 2001 at 2:00AM
C�mo hacer el primer servlet
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HolaMundo extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("");
out.println("<head>Mi primer servlet</head></title>");
out.println("<i>Que paza mundooooooooooo</i></font>");
out.println("");
}
}
in j2ee
Reader Comments