Hi: I am reading the book Struts2InAction,it is rather powerful. And I thought someting funny when reading the interceptor chapter:
Example: public String intercept(ActionInvocation invocation) throws Exception { long startTime = System.currentTimeMillis(); //1 String result = invocation.invoke(); //2 long executionTime = System.currentTimeMillis() - startTime; ... log the time ... return result; } The following is quoted from the book: >Either way, when invoke() >returns, a result has already been rendered. In other words, the response page has >already been sent back to the client Since the response page has been sent to client .So I wonder if I return null after calling the invocation.invoke()? BTW,I do not have the development environment for a test nowtime,so I ask here,hoping not distuirbing you guys. :)