This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I know that WSAD5.0 has built-in Struts support for Struts1.1(Beta). But does WSAD5.0 support Struts1.1 and 1.2? If I download Strut1.2.7 or Struts1.1 and create a web app from them in WSAD, what will happen?
You can feel free to just download struts on it's own and put it into your web app. Just replace the libraries that WSAD puts in for you with the version of Struts that you want to use.
Joined: Mar 04, 2005
Thanks for your quick reply!
I created a web application in WSAD by using the built-in Struts support which is 1.1(Beta). Then I downloaded Struts 1.2.7 library. I replaced the related jar files, tld and dtd files that WSAD put in my application with those from Struts 1.2.7 library.
Am I doing the right thing? May I say that my application is upgaded to Structs 1.2.7?
Joined: Sep 12, 2003
Yep. That's all you need to do. There's not a whole lot of fluff behind how WSAD 5.X uses Struts. It's just a matter of swapping out the jar.