在web-app中,我们为spring定义上下文配置位置以初始化所有这样的bean
<!-- Spring Application Configuration -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/ctx-*.xml</param-value>
</context-param>
<listener>
<description>Spring Context Listener</description>
<display-name>SpringContextListener</display-name>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
Run Code Online (Sandbox Code Playgroud)
我试图找出,如果有可能在jar文件(包含所有的spring bean)中做到这一点,我没有web.xml?
我正在尝试根据我的应用程序添加基于位置的汽油价格RSS源.
我用Google搜索了天然气价格的RSS Feed,并且碰到了Motortrend的天然气价格
http://www.motortrend.com/widgetrss/gas-
饲料似乎很好,但价格似乎用字母表示如下
Chevron 3921 Irvine Blvd, Irvine, CA 92602 (0.0 miles)
Monday, May 10, 2010 9:16 AM
Regular: ZEIECHK Plus: ZEHGIHC Premium: ZEGJEGE Diesel: N/A
如何解释这些价值以得出汽油价格的价值?或者它是Motortrend的内部,不能在其他地方使用?