1. zookeeper servlet Ê × ~~~~úapplication ö~~~~~~~servlet. jar
2 .?
Import javax. servlet. http. HttpServletRequest;
Import javax. servlet. http. HttpServletResponse;
Import javax. servlet. http. HttpServlet;
Import javax. servlet. ServletException;
Import java. io. IOException;
Import java. io. PrintWriter; // â ¾ äimport **********************************
3. ******* Ï Â servlet öð µä~~~~~~~£ó **********
A) protected void service (HttpSerlvetRequest req, HttpServletResponse res) throws ServletException, IOException {}
 ¹ û ±» overwrite á~£%%%%*****ü²» áµ*****doxxx method =£
B) protected void doGet (HttpSerlvetRequest req, HttpServletResponse res) throws ServletException, IOException {}
Ø valid values 1 £° safe and idempotent. 2 £° Only ASCII (text) data can be sent to server with GET method. 3 £° easy to bookmarks.
Ö÷ Ò ª × Ó £ £°» añé ¡ý £ »?
C) protected void doPost (HttpSerlvetRequest req, HttpServletResponse res) throws ServletException, IOException {}
Ø please wait 1 £° not safe and idempotent. 2 disallow bookmarks.
Ö÷ Ò ª × Ó ó £ £° '«ä äform data £ ;***************************************** {************************************************
» Ó Ò» Ð ¶ «Î Ï Â 'î Ô ½ ² 2 ° É