ActionSupport is class in Spring Framework to let Struts Action to visit ApplicationContext conviniently.
merit:
we just let new Struts action to extend ActionSupport, no other changed, no new configuration file, and you can we standard Struts IDE tools and XDoclet.
shortcoming:
The code to reference Spring bean is very trivial, and you can not declare field to make it available for every method in class because the implement for getWebApplicationContext method. |