Two Laptop Bag*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts version problem" Watch "Struts version problem" New topic
Author

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
Author
Rancher

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Struts version problem
 
Similar Threads
Validator with Struts Problem ?
validation Exception !!!!!
error while using dynavalidator form in validator frame work
Struts Validation problem
Exception in the validator