Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 31st, 2006, 05:31 PM
Registered User
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Spring Integration with Struts

Hi all,
   I've integrated successfully some Spring features into my Struts framework. In the whole, my project consists of a bunch of Struts actions that delegate management to Spring via DelegatingActionProxy. By now, all works fine, but now I would like to add a Spring controller to return a ModelView. I'd also like this Spring controller could use a Business bean defined into the Struts servlet context. And this is the problem: how to reference one bean defined into another context.
  How could I reference it into the Spring controller? Or much better, how could I inject it within the xml Spring beans file?

  Expected been explained. Thnx very much







Similar Threads
Thread Thread Starter Forum Replies Last Post
What is advantageous of spring over struts jomet Spring 2 April 29th, 2010 10:27 AM
struts actions package: "struts", other packages? ojasrege Struts 1 July 21st, 2007 06:02 AM
AJAX and Spring GameOne Ajax 1 September 21st, 2006 01:40 AM
Problem wit struts and spring DR POMPEII Struts 0 August 17th, 2006 09:16 AM
Spring Framework tilakkalyan J2EE 1 February 2nd, 2006 06:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.