Subversion Repositories SmartDukaan

Rev

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

Rev 11986 Rev 11987
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());
102
		log.info("in user interceptor: " + resultCode);
104
		} catch (Exception e) {
-
 
105
			// TODO Auto-generated catch block
-
 
106
			e.printStackTrace();
-
 
107
		}
-
 
108
		ActionContext ac = invocation.getInvocationContext();
103
		ActionContext ac = invocation.getInvocationContext();
109
		HttpServletResponse response = (HttpServletResponse) ac.get(StrutsStatics.HTTP_RESPONSE);
104
		HttpServletResponse response = (HttpServletResponse) ac.get(StrutsStatics.HTTP_RESPONSE);
110
		addCookiesToResponse(invocation.getAction(), response);
105
		addCookiesToResponse(invocation.getAction(), response);
111
	}	
106
	}	
112
 
107