aspose file tools*
The moose likes Spring and the fly likes Is it possible to have single jsp calling struts action and spring controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Is it possible to have single jsp calling struts action and spring controller" Watch "Is it possible to have single jsp calling struts action and spring controller" New topic
Author

Is it possible to have single jsp calling struts action and spring controller

wrushasen dakhane
Ranch Hand

Joined: Sep 25, 2006
Posts: 47
Hi All,

I have existing struts application, now from this release are migrating to spring framework.

I have a jsp which makes call to struts action. I want to add one more action to the same jsp . Which I want to a Spring Controller?

Please let me know if its possible.

Let me know if ServletForwardingController of any use in this regard?

Thanks
Wrushasen


SCJP 1.4, SCWCD 1.4
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Of course you can. Whether it is a form or just a link. The URL to those links are just different URL, where one is mapped via Strut's way with struts-config.xml file and the other is mapped via Spring MVC approach.

Hope that helps.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible to have single jsp calling struts action and spring controller