• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

reply
    Bookmark Topic Watch Topic
  • New Topic