Server Technology PPNT Manual de usuario Pagina 59

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 95
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 58
Java Servlets - Internal(2/2)
servlet template:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class SomeServlet extends Ht tpSe rvle t {
public void doGet(HttpServletRequest re ques t,
HttpServletResponse response)
throws ServletException, IOException {
// Use "request" to read incomi ng HTTP headers (e.g. cookies)
// and HTML form data (e.g. data the user entered and s ubmi tted )
// Use "response" to specify th e HTTP response line and headers
// (e.g. specifying the content type, setting cookies).
PrintWriter out = response.getWriter();
// Use "out" to send content to browser
}
}
(59/95)
Vista de pagina 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 94 95

Comentarios a estos manuales

Sin comentarios