This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes java.lang.StackOverflowError getting while Validation is going Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.StackOverflowError getting while Validation is going" Watch "java.lang.StackOverflowError getting while Validation is going" New topic
Author

java.lang.StackOverflowError getting while Validation is going

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
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


Thanks,
Kumar
Marimuthu Madasamy
Ranch Hand

Joined: Jun 07, 2007
Posts: 72

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.


- Marimuthu Madasamy
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
hi Marimuthu,

thank you very much..!

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

thanks,
Sumant K
 
 
subject: java.lang.StackOverflowError getting while Validation is going
 
Similar Threads
Spring Validation
Error Handling in JSP
Validation problem during FileUpload
success alert using javascript
JSF immediate=true: Bug?