• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.StackOverflowError getting while Validation is going

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In our project we are using Struts-Spring-iBATIS, I did one complete flow successfully, but when I tried to run the application with myform extends ValidatorForm and used validation rules from validation.xml, then I got java.lang.StackOverflowError. i.e. throwing error continuously on console for 2 mins. this is really fed up with this.

then I tried to avoid ValidationForm and used Actionform and written vaidation rules under validate(), but same error.

I tried to write client side validations using javascrip, then also same.

what would i do to avoid this situation?

thanks,
Sumant K
 
Marimuthu Madasamy
Ranch Hand
Posts: 72
Java Monad Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that the 'input' attribute of 'action' element in struts-config.xml doesn't call back the same action to which the form was submitted.
 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Marimuthu,

thank you very much..!

I got validation successfully, I haven't observed it before.

thanks,
Sumant K
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic