Server Technology PPNT Manuel d'utilisateur Page 59

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 95
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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)
Vue de la page 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 94 95

Commentaires sur ces manuels

Pas de commentaire