action和domain的不同总结

在使用action属性来接受参数的是时候,主要struts是调用set。
在使用domain来接受对象,set和get都需要对应来写,否则会出现接受参数不完全的情况。

posted @ 2016-04-07 10:38  hello1world  阅读(203)  评论(0编辑  收藏  举报