Results 1 to 4 of 4

Thread: Struts 1.3 and Spring

  1. #1
    Join Date
    Sep 2004
    Location
    London
    Posts
    311

    Default Struts 1.3 and Spring

    hello all,
    anyone can tell me how can integrate Struts 1.3 with Spring? is it so that hte only way to integrate STruts and Spring is to go via DelegatingActionProxy?

    thanx and regards
    marco

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    You can also use XXXActionSupport classes located in the same package.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

  3. #3
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    Update: Theses classes are build around Struts 1.2 XXXActions. I did not yet check if they work correctly with Struts 1.3.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

  4. #4
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    There are numerous ways to integrate Struts (any version) with Spring. All you need to do is to give your Struts actions access to a Spring application context. You can even "autowire" Struts actions--typically in a superclass--to get Dependency Injection.

    I'd also recommend having a look at Spring MVC, however, unless you already have a significant investment in Struts--evaluating it as an MVC framework vs Struts, not just because it's part of Spring.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Spring managed Struts Actions
    By drc in forum Web
    Replies: 2
    Last Post: Jul 14th, 2005, 10:46 AM
  3. migrating Struts to Spring (long-winded)
    By ocampesato in forum Web
    Replies: 2
    Last Post: May 6th, 2005, 11:17 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Testing troubles with Struts / Spring
    By anthonyb in forum Web
    Replies: 4
    Last Post: Feb 10th, 2005, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •