在Action中: HttpServletRequest request = ServletActionContext.getRequest(); String url =request.getRequestURL(); 在拦截器中: public String intercept(ActionInvocation ai) throws Exception { String url = ai.getProxy().getActionName()+"!"+ai.getProxy().getMethod(); ....... }