Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActionMapping setValidate problem

Status
Not open for further replies.

frankwolfe

Programmer
Joined
Apr 2, 2003
Messages
1
Location
US
In the execute method of my action class I attempt the set the validation of the ActionMapping using the following line of code.
mapping.SetValidate(true);
it cause a null pointer exception to be thrown.

I can get use mapping.getValidation() fine.


Any Ideas.
 
Hi frankwolfe,

Are u using validation in struts? or u simply giving SetValidation(true).

if ur not going to validate anything ,SetValidation(false).

bye,
sasi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top