wood burning stoves 2.0*
The moose likes Struts and the fly likes Migration problem from 1.1 to 1.2.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Migration problem from 1.1 to 1.2.9" Watch "Migration problem from 1.1 to 1.2.9" New topic
Author

Migration problem from 1.1 to 1.2.9

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

I am migrating a project from Struts 1.1 to 1.2.9. I followed the instructions at http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
but I am getting an exception on startup and can't pinpoint the problem. I'm wondering if anything has changed that wasn't documented.





Eric
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'd make sure you're using the validator-rules.xml it suggests, other than that, it's hard to say--almost certainly an issue with one of your validation files.
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Thanks for the response. I figured out what was wrong. Somebody had put in <validator name="" ... which I guess 1.1 allowed but 1.2.x does not.

Eric>
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Good deal--glad you figured it out :)

(Also glad because I was out of ideas w/o seeing the XML ;)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Migration problem from 1.1 to 1.2.9