- 博客(5)
- 资源 (4)
- 收藏
- 关注
原创 上一代容器(server container)加载servelt的疑问
<br />最近在看servlet-spec2.5文档时,在中间有这样一段话:<br /> previous generations of containers created new class loaders to load a servlet,distinct from class loaders used to <br />load other servlets or classes used in the servlet context.this could cause object r
2011-02-09 12:38:00 138
原创 request 笔记
<br />1.setCharaceterEncoding : overrides the name of the character encoding used in the body(post的内容才会写在body里) of this request.<br />this mehtod must be called prior to reading request parameters or reading input using getReader().otherwise,it has no eff
2011-02-15 16:54:00 145
原创 requestDispatcher笔记
<br />the forward method of the requestDispatcher interface may be called by the calling servlet only when no output has been committd (通过flush方法)to the client.if output data exists in the response buffer that has not been committed,the content must be cle
2011-02-12 15:49:00 184
原创 注解的一个注意事项
<br />自定义的一个注解:<br />public @interface GroupTODO {<br /> public enum Severity{CRITICAL,IMPORTANT,TRIVIAL,DOCUMNETION};<br /> Severity severity() default Severity.IMPORTANT;<br /> String item();<br /> String assignedTo();<br />}<br /> <br />public class Sub
2010-06-04 15:02:00 161
原创 spring xml中的propery 的name属性名自来源
今天在运用spring的PropertyPlaceholderConfigurer时发现一个有意思的内容,当你在applicationContext中配置一个PropertyPlaceholderConfigurer的bean时,有location和locations的属性,不明思意location对应一个.properties文件,locations对应多个.properties文件,冲着想
2009-11-30 18:21:00 400 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人