單項(xiàng)選擇題

給定TheBean類,假設(shè)還沒有創(chuàng)建TheBean類的實(shí)例,以下哪些JSP動作語句能創(chuàng)建這個bean的一個新實(shí)例,并把它存儲在請求作用域()

A. <jsp :useBean name="myBean" type="com.example.TheBean"/>  
B. <jsp :takeBean name="myBean" type="com.example.TheBean"/>   
C. <jsp :useBean id="myBean" class="com.example.TheBean" scope="request"/> 
D. <jsp :takeBean id="myBean" class="com.example.TheBean" scope="request"/> 

微信掃碼免費(fèi)搜題