File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts Validation framework 1.2.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validation framework 1.2.9" Watch "Struts Validation framework 1.2.9" New topic
Author

Struts Validation framework 1.2.9

Sri Anand
Ranch Hand

Joined: Mar 06, 2005
Posts: 392
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts Validation framework 1.2.9