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

Struts version problem

 
Mark Henryson
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently I am using Struts 1.2.x version and I want to upgrade it higher version. Please help to suggest whether upgrade it to 1.3 will be better or 2.0
I have tried to upgrade it to 1.3 and downloaded the entire struts 1.3.10 package. But in the blank struts war file I couldn't find the validator-rules.xml.



Where can i get the validator-rules.xml file. The main reason for upgradtion is, since for validator framework more features were added.


Previously I have used the MyEclispe and created the web project then added the Struts 1.2 capabilities.
When I downloded the blank struts war, I have copied all the .jar files related to struts 1.3.10 and placed it in the existing lib folder.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Upgrading to Struts 2 would involve, at a minimum, completely rewriting all your JSP files. There's a Struts 1 plugin that allows the use of Struts 1 actions in Struts 2 applications, but I wouldn't bother, so you'd have to rewrite the web layer as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic