This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts version problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts version problem" Watch "Struts version problem" New topic

Struts version problem

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
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

Joined: Sep 29, 2008
Posts: 12617

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.
I agree. Here's the link:
subject: Struts version problem
It's not a secret anymore!