January 30, 2007

You are currently browsing the daily archive for January 30, 2007.

Struts Validation

Today, I’m learning about the Validation Framework incorporated in Struts.

After setting and running the application using validation, I got a weired NullPointerExceptionn. After surfing the Q&A on the Internet, I got this.

“Wrong package name”

The package for importing the new Action Form should be

org.apache.struts.validator.DynaValidatorForm

not

org.apache.struts.action.DynaValidatorForm

so Take Care!!

Reference:

http://wiki.wsmoak.net/cgi-bin/wiki.pl?Struts/DynaValidatorFormError

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • Technorati
  • YahooMyWeb

« Older entries

 

January 2007
S M T W T F S
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories