Spring MVC Request get

/**
	 * @return the request
	 */
	public HttpServletRequest getRequest() {
		HttpServletRequest request = 
				((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
		
		return request;
	}

 

你可能感兴趣的:(spring mvc)