*/
public RequestContext getRequestContext(ServletContext servletContext, HttpServletRequest request,
HttpServletResponse response) {
assertInitialized();
RequestContext requestContext = new SimpleRequestContext(servletContext, request, response);
// ��requestContext����request�У��Ա���ֻ��Ҫ��request�Ϳ���ȡ��requestContext��
// ��������setRequestContext���Ա�����prepareRequestContext����ʹ�á�
RequestContextUtil.setRequestContext(requestContext);
for (RequestContextFactory<?> factory : factories) {
requestContext = factory.getRequestContextWrapper(requestContext);
// ����<code>requestContext.prepare()</code>����
prepareRequestContext(requestContext);
// ��requestContext����request�У��Ա���ֻ��Ҫ��request�Ϳ���ȡ��requestContext��
RequestContextUtil.setRequestContext(requestContext);
}
setupSpringWebEnvironment(requestContext.getRequest());
return requestContext;
}