struts中form问题
现在三个action:分别为显示列表所用(list),添加/编辑所用(eidt),保存所用(save)
一个form(infoform)
config中是:
<action name= "InfoForm " path= "list " type= "list ">
<forward name= "list " path= "/list.jsp "> </forward>
</action>
<action name= "InfoForm " path= "/edit " type= "edit ">
<forward name= "edit " path= "/edit.jsp "> </forward>
</action>
<action name= "InfoForm " path= "/save " type= "save ">
<forward name= "list " path= "/list.do "> </forward>
</action>
在保存的action中form中所有属性都有值的,但是保存后跳到列表action中时有的属性有值,有的没有,这是为什么呀(没有的是固定的几个属性)
------解决方案--------------------贴出一部分代码看看,还有actionform的scope是session吗?