Author Login
Post Reply
Is there any issues with running Struts1 and Struts2 together in the
same application?
I have a couple old Struts1 applications which I plan on converting to
Struts2 over time, but would like to start doing new development in
Struts2 immediately while converting the Struts1 screens and action
over bit-by-bit as needed.
I haven't worked with Struts1 for many years.
A quick look at the components makes me think I can run both 1 & 2 together.
Java packages:
s1) org.apache.struts
s2) org.apache.struts2
web.xml
s1) a Servlet (ActionServlet) mapped to *.do
s2) a Filter mapped to *.action (and others)
Action extensions:
s1) *.do (from web.xml)
s2) *.action (from we.xml)
Config files:
s1) /WEB-INF/struts-config.xml (from web.xml config param)
s2) /WEB-INF/classes/struts.xml (can this be explicitly configured?)
Questions:
- Is there any know issues with running Struts1 and Struts2 together
in the same application?
- Has anyone done this successfully? Any advice?
- S1 app uses /WEB-INF/validation.xml and validator-rules.xml, will
these cause any conflict with S2?
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)