The code contains a few Struts action classes and a couple of JSPs.
代码包含少量Struts动作类和两个jsp页面。
While no one would have thought it at the time (ah, the freewheeling days of yore), Struts Action classes often become havens for complexity.
虽然在那个时候(过去的自由时光啊)可能没人想过,但Struts Action类通常成为复杂性的保护所。
With Struts, a developer needs to externalize the mappings of specific requests to Action classes in an XML configuration file.
使用Struts,开发人员需要把特定请求的映射外部化到XML配置文件中的Action类。
It also contains Struts Action and ActionForm classes, a Model service class, a JSP page to display the results, and source code for both a publisher and a subscriber.
它还包含有Struts Action和ActionFor m类、模型服务类以及用来为发布者与订购者显示结果及其源代码的JS p页。
The article focuses on the implementation details of the flow of dynamic data between Struts 2 Action classes and the result pages.
本文将集中探讨Struts2action类与结果页之间的动态数据流的实现细节。
The only real servlet in this example is the Struts action servlet, which controls the invocation of the action classes.
这个示例中唯一一个真正的servlet是Struts动作servlet,它控制动作类的调用。
To build the same example app in Struts you would need two action classes for the two buttons, each requiring its own set of action mappings.
要用Struts构建这个相同的示例应用程序,需要两个操作类用于两个按钮,每个类又需要它自己的一组操作映射。
To build the same example app in Struts you would need two action classes for the two buttons, each requiring its own set of action mappings.
要用Struts构建这个相同的示例应用程序,需要两个操作类用于两个按钮,每个类又需要它自己的一组操作映射。
应用推荐