Er, depends what you mean by compatible... Yes, you can run Struts1 and
Struts2 side-by-side in the same web app. However, mixing tags from both
on the same page will not generally work. You can either route a request
through Struts1 to a page using Struts1 tags, or route a request through
Struts2 to a page using Struts2 tags.
You may be able to create a page that combines Struts1 and Struts2
resources through composition (e.g. via Tiles or Struts2's s:action
maybe). Really it depends on exactly what you want to achieve; but if
it's simply to be able to mix S2 tags into an existing S1 page then no,
that won't work.
L.
Paul Benedict wrote:
I do not believe the two are currently compatible.
On 9/12/07, Emi Lu <[EMAIL PROTECTED]> wrote:
Hello List,
I am using struts1.3.8. May I know is it possible that I can use some
functions/tags provided by 2.0.9.
For example,
. do not change any 1.3.8 .jar files
. Add struts2-core-2.0.9.jar
xwork-2.0.4.jar
ognl-2.6.11.jar
And then use "<s:datetimepicker name="delivery.date" label="Delivery
Date" format="#yyyy-#MM-#dd" /> " ?
Thanks a lot!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]