这避免了在操作类中进行复杂编码(如struts 1示例所示),将表单bean转换为相关域模型对象。
This allows avoidance of complex coding in the action class (as shown in the Struts 1 example) for converting the form bean in to the related domain model object.
Struts 2 OGNL表达式减小了编写复杂代码、将单级表单beans转换为多级域对象的难度。
Struts 2 OGNL expressions reduce the difficulty of writing complex code to transform single-level form beans to multi-level domain objects.
应用推荐