Spring webflow action取HttpServletRequest对象的方法(取IP)

//取IP地址
HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getNativeRequest();
String ip = request.getRemoteAddr();


你可能感兴趣的:(cas,webflow)