0
0
Struts1和Struts2的区别和对比 1财富值
Action 类:
• Struts1 Action类继承一个抽象基类。Struts1一个普遍问题是使用抽象类编程而不是接口,而struts2的Action是接口。
• Struts2 Action类可以实现一个Action接口,也可实现其他接口,使可选和定制的服务成为可能。Struts2提供一个ActionSupport基类去实现常用的接口。Action接口不是必须的,任何有e... 更多阅读需支付 1 财富值……