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 Validation framework 1.2.9

 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting following exception when trying to work with struts validation frame work.

Dyna 'page' property must not be null. Either provide an initial value or set 'convertNull' to false.
java.lang.NullPointerException: Dyna 'page' property must not be null. Either provide an initial value or set 'convertNull' to false.

I tried settign convertNull false through web.xml but doesn't seem to solve issue


In Web.xml


In Validation.xml




in Struts Congfig




In JSP



I am working with struts 1.2.9 and use validation framework. I have wizards so want to use the page attribute for validation. I have defined this in dynaValidator form and trying to set this from number to page from jsp page

http://struts.apache.org/1.x/struts-extras/dispatchValidator.html

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic