public void intercept(ActionInvocation ai) {
// TODO Auto-generated method stub
Controller controller = ai.getController();
if ("GET".equalsIgnoreCase(controller.getRequest().getMethod()))
ai.invoke();
else
controller.renderError(404, "使用post请求");
}