• 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

java.lang.StackOverflowError getting while Validation is going

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 72
Scala Monad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Marimuthu,

thank you very much..!

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

thanks,
Sumant K
 
reply
    Bookmark Topic Watch Topic
  • New Topic