1. cacheModel属性说明
<cacheModel id="code-CacheModel" type ="LRU" readOnly="true" serialize="false">
<flushInterval seconds="60"/>
<flushOnExecute statement="CodeModel-InsertCodeModel"/>
<property name="cache-size" value="1000" />
</cacheModel>
id: cacheModel的id.
type: cache ...
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from ServletContext resource [/WEB-INF/modules/applicationContext-dao.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
Caused b ...
2008-02-22
MultiActionController与3种MethodNameResolver的配置
关键字: multiactioncontroller methodnameresolver
今天又被人问了MultiActionController与MethodNameResolver的配置,就贴出来.
ParameterMethodNameResolver
InternalPathMethodNameResolver
PropertiesMethodNameResolver
配置web.xml
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</ ...
在配置web.xml的servlet-mapping 的 url-pattern 碰到问题, 上网查, 查到servelt2_2-spec.pdf才得到答案.
结论:
• '/XXX/*'
• '*.html'
• '/'
• 其他都是精确映射. 例: '/XXX/Y*.html' 只能映射/XXX/Y*.html 的URL请求.
例: '/XXX' 只可以映射/XXX的URL请求.
引用
10.2 Specification of Mappings
In the web application deployment descriptor, the fo ...
我的环境: JDK 1.5 Spring 2.5
今天将Spring2.5导入Eclipse,准备将其做成Plugin,以备开发RCP.
Spring2.5是号称支持JDK1.5的.
导完了Spring代码,解决了第三方jar依赖,编译发现Error3.奇怪,查代码.
public void load(Properties props, Reader reader) throws IOException {
if (loadFromReaderAvailable) {
// On JDK 1.6+
props.load(reader);
}
el ...
- 浏览: 6453 次
- 性别:

- 来自: 上海

- 详细资料
搜索本博客
我的相册
IndexCardGenerator
共 13 张
共 13 张
最近加入圈子
最新评论
-
RAP[1] RAP开发环境的安装
Eclipse RAP的客户端渲染是基于qooxdoo,一个很优秀的开源java ...
-- by Quake Wang -
惊艳!!! Swt 上的Ribbon.
dev.java.net上早有ribbon的实现了,不过是swing的:http ...
-- by diggywang -
.net终于被java同化了
支持Java
-- by love2008 -
Groovy的Eclipse插件
多谢,在这里找到插件了
-- by wdlfellow

![lggege的博客: [203] lG 槛~ 迈过去! 用户头像](http://www.javaeye.com/upload/logo/user/18674/d58959b8-54ec-376e-b9f2-5d3a36beaa2f.jpg?1206674671)




评论排行榜