Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by ndeloof:
http://wiki.apache.org/struts/StrutsAndSpring

------------------------------------------------------------------------------
  }
  }}}
  
-   1. Create a SciptedBeanActionAdapter class :
+   1.#2 Create a SciptedBeanActionAdapter class :
  
  {{{
  public class SciptedBeanActionAdapter extends Action {
@@ -38, +38 @@

  }
  }}}
  
-   1. Configure your web application to use this requestProcessor :
+   1.#3 Configure your web application to use this requestProcessor :
  
  {{{
  public class GroovyAutowiringTilesRequestProcessor extends 
AutowiringTilesRequestProcessor {
@@ -59, +59 @@

  
  This processor will look into spring context for a bean that implements 
StrutsAction and wich name is the action mapping path.
  
-   1. Add classpath*:localContext.xml to your spring web application context. 
This file will not be required at runtime, so there is no impact on the 
production application.
+   1.#4 Add classpath*:localContext.xml to your spring web application 
context. This file will not be required at runtime, so there is no impact on 
the production application.
  
    1. Put a localContext.xml file into your application server classpath. I 
myself created it in $TOMCAT/shared/classes. 
  
@@ -88, +88 @@

      <lang:property name="property" ref="bean"/>
  }}}
  
-   1. Start the app, go to your web page. 
+   1.#3 Start the app, go to your web page. 
   
    1. Change the code and simply hit refresh to see effects. No recompile, 
repackage, redeploy required !
  

Reply via email to