OSGi web.xml
来源:互联网 发布:淘宝卖家购物车怎么看 编辑:程序博客网 时间:2024/06/06 20:01
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/META-INF/spring/osgi-context.xml</param-value>
</context-param>
<context-param>
<param-name>contextClass</param-name>
<param-value>org.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/META-INF/spring/applicationContext.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/META-INF/spring/osgi-context.xml</param-value>
</context-param>
<context-param>
<param-name>contextClass</param-name>
<param-value>org.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/META-INF/spring/applicationContext.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
- OSGi web.xml
- Java OSGi/Web
- OSGI开发web应用
- OSGI开发web应用
- OSGI开发web应用
- OSGI系列 Web-Service
- OSGI web 开发
- 利用OSGi开发WEB应用
- osgi web开发遗留问题记录
- 【OSGI】第一个OSGI的Web程序有点坎坷
- OSGi环境中部署XML-RPC Server
- osgi之blueprint.xml注入bean
- java web组件开发osgi与jsp
- osgi ds 实现web应用程序初步
- 基于 OSGi 和 Spring 开发 Web 应用
- 打造一个Hello World OSGi Web应用程序
- 打造一个基于OSGi的Web Application
- 基于 OSGi 和 Spring 开发 Web 应用
- js中with的用法
- 寒假总结
- PHP文件上传至另一台服务器
- 函数调用是如何在系统中实现的-以C为例
- J2EE开发常用数据库连接池
- OSGi web.xml
- hive的优化方式
- linux、windows中ping大数据包的命令格式
- fork() 与 vfork()比较
- Hibernate连接配置方法剖析
- AsyncTask的用法
- PXE网络安装linux原理
- Linux下判断内存使用的一些方法和说明【转】
- 兜兜转转,其实我是一个程序员