求大神告诉下,action="Add"写在form里和写在 submit里有什么区别吗?submit里的name不写可以吗?为什么?最后div...div里的class和另外三个都是什么意思?求求大神可怜可怜我这个新手吧,详细告知下
<s:form action="Add" id="form1" theme="simple" >
<div class="buttonDiv">
<s:submit theme="simple" name="Add" value="添加" cssClass="button_style" />
顺序:<input type="text" name="shunXu" size="15%">
<s:submit theme="simple" name="List" action="List" value="查询" cssClass="button_style" />
</div>
<div class="validatemsg">
<s:actionerror/>
<s:fielderror/>
<s:actionmessage/>
</div>``