I don't think it's that trivial.  For every struts 1 action, you have to
configure an action entry in the struts.xml.  (At least as far as I can tell
based on the plugin documentation at
http://cwiki.apache.org/S2PLUGINS/struts-1-plugin.html)  Remember that
struts 1 and struts 2 are completely different code bases.  It would be nice
if you could run a struts 1 application unchanged in struts 2, (i.e. read in
the old xml config file and automatically configure everything needed for
struts 2 integration) but the struts 1 plugin doesn't do that...yet. :)
Tom

On 1/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:

> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
> we have a pretty large code in struts-1. What is more complicated
> moving to struts2 or spring mvc?

Moving to Struts2 is trivial since there's a Struts1 plugin that will
let you run it unchanged! :)

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to