m--->model--->javabean即entity包下的類中屬性要和表中的字段名一致v-->view--->jspc-->controller--->struts 的action通過struts.xml去實現