Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

java.lang.StackOverflowError getting while Validation is going

 
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
 
Ranch Hand
Posts: 72
Scala Monad Java
  • 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
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic