This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which files to replace for upgrading application from struts 1.1 to struts 1.2

 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new to struts and make a small application using struts 1.1 , now want to upgrade my application to struts 1.2.

Which all files should i replace to convert my project to struts 1.2 from struts 1.1.

Thanks
Gaurav
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Replace all the files that come in the /lib directory when you download Struts. Then change the DTD that is referenced in your struts-config.xml file. If you're using the validation framework, you may need to change the referenced DTD in the xml files required by validation as well.

You shouldn't have to modify anything in your code. Some things are deprecated, but they are still supported.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic