You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2008/09/07 15:39:45 UTC
svn commit: r692848 -
/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
Author: doebele
Date: Sun Sep 7 06:39:45 2008
New Revision: 692848
URL: http://svn.apache.org/viewvc?rev=692848&view=rev
Log:
EMPIREDB-11
Modified:
incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java?rev=692848&r1=692847&r2=692848&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java (original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java Sun Sep 7 06:39:45 2008
@@ -167,6 +167,10 @@
{
actionError = null;
fieldErrors = null;
+ // Remove from Session
+ ActionContext context = ActionContext.getContext();
+ if (context!=null)
+ context.getSession().remove(LAST_ACTION_ERROR_ATTRIBUTE);
}
/*