Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Struts Validation framework 1.2.9

 
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic