开发者

Can we use xwork validation framework to validate pojo in service layer

Can we use xwork validation framework to validate pojo in service layer? It seems we开发者_高级运维 have to extend ActionSupport class which is part of presentation layer to use xwork validations.


ActionSupport class is pojo. It doesn't have any dependency of servlet, hence we can use xwork to validate data objects in service layer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜