struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MaheshK <mahesh...@gmail.com>
Subject Issue in Validation value Stack - Duplicate error messages
Date Mon, 14 Jul 2008 19:05:41 GMT

Hi All,
I am using Strut 2.0 and tiles with Spring and I am having the following
issue in the validation framework.
When ever I submit a form with error in a field, subsequent submission of
the same form (without valid value), generates duplicate error messages. 
i.e If i leave the first name field as blank and submit the page, i get a
valid error message due to the validations in place. But if i submit the
same page again as it is, I am getting duplicate error messages for the same
field again.

Also if I enter valid values in the form field after the error message is
displayed, I am not able to get through the page. I am stuck at the error
page itself.

Please find below the code snippets:

spring-config.xml
---------------

	
		
	


Struts.xml
---------

	
	page.applicationStart
	addProjectPageDisplay
	displayProjects
 

 
		
		page.applicationStart


"commonAppStack" is a custom made interceptor stack which doesn't have any
fancy stuff.

Any pointers to this issue is appreciated.

Thanks
Mahesh K

-- 
View this message in context: http://www.nabble.com/Issue-in-Validation-value-Stack---Duplicate-error-messages-tp18450806p18450806.html
Sent from the Struts - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message