A.Strust2采用過濾器Dispatcher接貨客戶請求,確定適當的Action來對請求進行邏輯處理。 B.Struts2中對應Action中只能采用execute方法用來進行信息(邏輯)處理。 C.Struts也能采用其他方法(如find()),只需在struts.xml配置Action時,指定method參數。 D.要使Struts2機制在web請求中生效,必須在Web.xml配置<filter>
A.<jsp:param name=”username” value=”liu”/> B.<%@include file=”head.jsp”%> C.<%@taglib uri=”/struts.tags” prefix=”s”%> D.<%@page contectType=”texthtml,charset=gb2312”%>
A.EJB B.Entity C.JDB D.Unit