- 在第七节的基础上,在OSGi_equinox_web项目上右键新建一个File,命名为plugin.xml
- 在META-INF/MANIFEST.MF文件中修改
为
删除Activator,并且添加红线标注部分
- 在项目目录下新建一个文件夹,命名为WebContent
- 在WebContent下新建一个HTML文件,命名为index.html内容如下
- 在WebContent目录下新建一个文件夹,命名为jsp,在jsp下新建一个jsp文件,命名为index.jsp,其内容为
参考资料
视频教程 : http://v.youku.com/v_show/id_XNDE1NzU0OTY0.html
Equinox OSGi官网 : http://www.eclipse.org/equinox/
林昊 : 《OSGi原理与最佳实践》
Richard S. Hall : 《OSGi实战》