vj,sandeep wrote:
Hi All,
I am migrating an existing FrameWork(classes which are extending from some
of the Struts classes like FormTag,TextTag etc) from struts 1 to struts 2.
It uses MessageResources. I found out that the replacement for the same in
struts2 (2.0.11)is WrapperMessageResources which extends from the
MessageResources.
But to use the WrapperMessageRessource I need to use the struts
1.3.5-core.jar provided along with the struts 2.0.11 release otherwise I get
a compilation error as "MessageResources class not found. It is used
indirectly by one of the class files". So is it proper to use the struts
1.3.5-core.jar? If not Pls suggest a replacement for MessageResources.
As Antonio told you, it isn't really a question of 'replacements'.
Although conceptually similar, Struts 1 and Struts 2 are entirely
different codebases. You should think in terms of what you need to
achieve in Struts 2, not in terms of what APIs you used to achive
something similar in Struts 1.
That said, I have no idea what WrapperMessageResources is. It's not part
of the Struts 1, Struts 2 or XWork APIs as far as I can tell. You
certainly don't need to include Struts 1 jars in a Struts 2 application
to access message resources though.
If you can explain what it is you are trying to achieve we may be able
to offer better guidance.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]