SimplerHelloWWW Result
17
Servlets
www.corewebprogramming.com
The Servlet Life Cycle
init
Executed once when the servlet is first loaded. 
Not called for each request
service
Called in a new thread by server for each request. 
Dispatches to doGet, doPost, etc. 
Don't override this method!
doGet, doPost, doXxx
Handles GET, POST, etc. requests
Override these methods to provide desired behavior
destroy
Called when server deletes servlet instance. 
Not called after each request
18
Servlets
www.corewebprogramming.com
9




  

Home

About Services Network Support FAQ Order Contact
 

Servlet Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved