Subversion Repositories SmartDukaan

Rev

Rev 11980 | Rev 11987 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11980 Rev 11986
Line 97... Line 97...
97
	}
97
	}
98
	
98
	
99
	
99
	
100
	@Override
100
	@Override
101
	public void beforeResult(ActionInvocation invocation, String resultCode) {
101
	public void beforeResult(ActionInvocation invocation, String resultCode) {
-
 
102
		try {
-
 
103
			log.info("in user interceptor: " + invocation.getResult().toString());
-
 
104
		} catch (Exception e) {
-
 
105
			// TODO Auto-generated catch block
-
 
106
			e.printStackTrace();
-
 
107
		}
102
		ActionContext ac = invocation.getInvocationContext();
108
		ActionContext ac = invocation.getInvocationContext();
103
		HttpServletResponse response = (HttpServletResponse) ac.get(StrutsStatics.HTTP_RESPONSE);
109
		HttpServletResponse response = (HttpServletResponse) ac.get(StrutsStatics.HTTP_RESPONSE);
104
		addCookiesToResponse(invocation.getAction(), response);
110
		addCookiesToResponse(invocation.getAction(), response);
105
	}	
111
	}	
106
 
112