´ïÄÚµÚÈý´ÎÔ¿¼ÊÔÌâ-¹²Á½Ì× ÏÂÔر¾ÎÄ

o A.

servlet01Ŀ¼ÏÂ

o

B.

servlet01\\WEB-INFĿ¼ÏÂ

o

C.

servlet01\\WEB-INF\\classesĿ¼ÏÂ

o

D.

servlet01\\WEB-INF\\libĿ¼ÏÂ

ÕýÈ·´ð°¸£ºD

? 28.

(µ¥Ñ¡)ÔÚweb.xmlÉèÖÃÁË*.do£¬ÒÔÏ·¾¶²»ÊÇÕýÈ··ÃÎÊ·¾¶µÄÊÇ£º£¨£©¡£

o

A.

http://localhost:8080/web /list

o

B.

http://localhost:8080/web/list.do

o

C.

http://localhost:8080/web/jsp/list.do

o

D.

http://localhost:8080/web/jsp/emp/list.do

ÕýÈ·´ð°¸£ºA

? 29.

(µ¥Ñ¡)ÏÂÁв»ÊôÓÚä¯ÀÀÆ÷ÄÚÖõĶÔÏóµÄÊÇ£º£¨£©

o

A.

navigator

o

B.

document

o

C.

window

o

D.

request

ÕýÈ·´ð°¸£ºD

? 30.

(µ¥Ñ¡)ÔÚa.jspÖÐÓдúÂëƬ¶ÏÈçÏ£º

loginName:
ÔÚb.jspÖÐÏëÊä³öÔÚa.jspÒ³ÃæÉÏÊäÈëµÄloginNameµÄÖµ£¬ÒÔÏÂÑ¡ÏîÕýÈ·µÄÊÇ£º£¨£©¡£

o

A.

<%= request.getParameter(¡°loginName¡±)%>

o

B.

<%=(String )request.gerAttribute(¡°loginName¡±)%>

o

C.

<%= request.getParameter(¡°loginname¡±) %>

o

D.

<%=(String )request.getAttribute(¡°loginname¡±) %>

ÕýÈ·´ð°¸£ºA

? 31.

(µ¥Ñ¡)ÔÚJavaScriptÖÐ,±íµ¥Îı¾¿ò£¨Text£©²»Ö§³ÖµÄʼþÓУ¨£©¡£

o

A.

onblur

o

B.

onlostfocused

o

C.

onfocus

o

D.

onchange

ÕýÈ·´ð°¸£ºB

? 32.

(µ¥Ñ¡)¸ø¶¨Ò»¸ö Servlet µÄdoPost·½·¨ÖеĴúÂëƬ¶Î£¬ÈçÏ£º request.setAttribute(¡°name¡±,¡±zhang¡±);

request.getRequestDispatcher(\response);//ת·¢µ½MyServlet ÒÔÏÂ˵·¨ÕýÈ·µÄÊÇ£º£¨£©¡£

o

A.

ÔÚ MyServlet ÖУ¬¿ÉÒÔʹÓà String str=request.getAttribute(¡°name¡±); °ÑÊôÐÔ nameµÄֵȡ³öÀ´

o

B.

ÔÚ MyServlet ÖУ¬¿ÉÒÔʹÓÃString

str=(String)request.getAttribute(¡°name¡±); °ÑÊôÐÔ nameµÄֵȡ³öÀ´

o

C.

ÔÚ MyServlet ÖУ¬¿ÉÒÔʹÓÃString str=request.getParameter (¡°name¡±); °ÑÊôÐÔ nameµÄֵȡ³öÀ´

o

D.

ÔÚ MyServlet ÖУ¬ÎÞ·¨È¡³öÊôÐÔnameµÄÖµ

ÕýÈ·´ð°¸£ºB

? 33.

(µ¥Ñ¡)ÔÚHTTPЭÒéÖУ¬¿ÉÒÔͨ¹ýIntenet·¢ËÍ´óÁ¿Êý¾Ý£¬¶øÇÒûÓг¤¶ÈµÄÏÞÖÆ£¬¿ÉÒÔʹÓÃÇëÇó ÏûÏ¢µÄ·½·¨ÊÇ£¨£©

o

A.

get

o

B.

post

o

C.

put

o

D.

head

ÕýÈ·´ð°¸£ºB

? 34.

(µ¥Ñ¡)ÔÚHTTPЭÒéÖУ¬ÓÃÓÚ·¢ËÍ´óÁ¿Êý¾ÝµÄ·½·¨ÊÇ£¨£©¡£

o

A.

get

o

B.

post

o

C.

put

o

D.

options

ÕýÈ·´ð°¸£ºB

? 35.

(µ¥Ñ¡)¸ø¶¨OneServlet µÄdoPost·½·¨ÖеĴúÂëƬ¶Î£¬ÈçÏ£º

request.setAttribute(\<²åÈë´úÂë> Èç¹ûÔÚTwoServletʹÓÃrequest.getAttribute(\ÄÜ°ÑÊôÐÔ nameµÄֵȡ³öÀ´,ÄÇô<²åÈë´úÂë> ´¦Ó¦ÌîÈë´úÂëÊÇ£¨£©¡£

o

A.

request.getRequestDispatcher(\

o

B.

request.getRequestDispatcher(\

o

C.

response.sendRedirect (\

o

D.

response.sendRedirect (\

ÕýÈ·´ð°¸£ºB

? 36.

(µ¥Ñ¡)ÔÚJava WebÓ¦ÓÃÖУ¬ÏÂÃæ¹ØÓÚHttpSessionµÄ˵·¨ÕýÈ·µÄÊÇ£¨ £©¡£

o

A.