A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Is it possible to have single jsp calling struts action and spring controller
Joined: Sep 25, 2006
Sep 26, 2011 22:01:38
I have existing
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?
SCJP 1.4, SCWCD 1.4
Joined: Feb 05, 2001
Sep 28, 2011 17:38:16
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.
Perfect World Programming, LLC
Two Laptop Bag
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
setup issue in spring mvc
Confusing components in Struts?
Design Patterns in Struts
how can generate view without controller in spring
please help me to solve following spring issues
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014