在Struts中使用實(shí)體類對(duì)象作為Action屬性對(duì)請(qǐng)求對(duì)象的數(shù)據(jù)進(jìn)行封裝,從而達(dá)到簡(jiǎn)化開(kāi)發(fā)的目的,代碼如下所示,對(duì)HTML(或JSP)文件中的form表單中文本框的name屬性賦值正確的是()
A.<inputtype="text"name="users.userName"/>
B.<inputtype="text"name="userName"/>
C.<inputtype="text"name="user.userName"/>
D.<inputtype="text"name="userAction.userName"/>