¡¤ public String getParameter(String key)
¨C»ñµÃÖ¸¶¨²ÎÊýÃû¶ÔÓ¦µÄÖµ£¬ÐèҪעÒâµÄÊÇÈç¹û²ÎÊý²»´æÔÚ£¬·µ»Ø Ò»¸önullÖµ£¬µ¥Ñ¡°´Å¥ºÍ¸´Ñ¡°´Å¥Èç¹ûûÓÐÑ¡ÔñÈκÎÖµ·µ»Ønull£¬ ÆäËû±íµ¥¿Ø¼þ·µ»Ø¿Õ×Ö·û´®¡£ ¡¤ public String[] getParameterValues(String key)
¨CÈç¹ûÒ»¸ö²ÎÊý¿ÉÒÔ·µ»Ø¶à¸öÖµ£¬±ÈÈ縴ѡ¿ò¼¯ºÏ£¬Ôò¿ÉÒÔÓô˷½ ·¨»ñµÃ¶ÔÓ¦²ÎÊýµÄËùÓÐÖµ£¬¸´Ñ¡°´Å¥Èç¹ûûÓÐÑ¡ÔñÈκÎÖµ·µ»Ønull ¡¤ public Enumeration getParameterNames()
¨C´Ë·½·¨·µ»ØÒ»¸öEnumeration¶ÔÏ󣬰üº¬¶ÔÓ¦ÇëÇóµÄËùÓвÎÊýÃû×Ö
HttpServletRequest½Ó¿Ú³£Ó÷½·¨
Áбí
HTTPÇëÇó
¡¤¿Í»§¶ËÏò·þÎñÆ÷¶Ë·¢ÆðµÄhttpÇëÇóÓÉÈý²¿·Ö ×é³É
¨CÇëÇóÐÐ ¨CÏûÏ¢±¨Í· ¨CÇëÇóÕýÎÄ
HTTPÇëÇ󡪡ªÇëÇóÐÐ
¡¤ÇëÇóÐаüÀ¨·½·¨·ûºÅºÍURIºÍÐÒéµÄ°æ±¾£¬ÀýÈç
¨C GET /J5EE/ThreeServlet?deptno=10 HTTP/1.1
£¨CRLF»»ÐУ©
¨C POST /J5EE/Request1Servlet HTTP/1.1£¨CRLF»» ÐУ©
HTTPÇëÇ󡪡ªÏûÏ¢±¨Í·
¡¤ÏûÏ¢±¨Í·°üÀ¨ºÜ¶à¿Í»§¶ËµÄÐÅÏ¢£¬ÀýÈç
accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword,
application/vnd.ms-powerpoint, application/vnd.ms-excel, */* referer=http://localhost:7777/J5EE/api/Header.html accept-language=zh-cn
content-type=application/x-www-form-urlencoded accept-encoding=gzip, deflate
user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) host=localhost:7777 content-length=148 connection=Keep-Alive cache-control=no-cache