---
title: "获得Spring的IOC容器"
author: "explore"
date: "2010-04-28T18:46:17Z"
tags: []
categories: ["企业架构"]
slug: "spring-ioc"
draft: false
lastmod: "2010-04-28T18:48:42Z"
id: 655520
url: "https://explore.iteye.com/blog/655520"
---

```
 ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext())
```