声明一变量 ? ? ? ? ? ? ?module_param(name, type, perm); name既是用户看到的参数名,又是模块内接受参数的变量; type表示参数的数据类型,是下列之一:byte, short, ushort, int, uint, lon...
分类:
其他好文 时间:
2015-11-15 14:56:37
阅读次数:
173
1.配置POM.xml文件,配置项目所需jar2.配置WEB.xml:<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:application-context.xml</param-value>
</context-param>
<listener>
<listener-cl..
分类:
编程语言 时间:
2015-11-12 06:41:49
阅读次数:
310
1.配置POM.xml文件,配置项目所需jar包2.配置WEB.xml:配置spring监听器<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:application-context.xml</param-value>
</context-param>
<listener&g..
分类:
编程语言 时间:
2015-11-12 06:39:44
阅读次数:
532
EL表达式取值1.EL表达式的语法格式很简单:以前编写jsp代码时,如果要获取表单中的用户名,一般使用,这样当然也可以获取到值,但是又把html代码和java代码混到一起,看起来比较乱套。现在使用EL表达式的话就比较简洁了:${param.name}就可以解决了。注意:${表达式} 表达式部分不需要...
分类:
其他好文 时间:
2015-10-27 21:45:45
阅读次数:
174
1.${SESSION_USER_V2}会从大到小查找作用域中的attributePageContextPageScopeservletRequestRequestScopehttpSessionSessionScopeApplication/servletContextApplicationScope2.${param.name}实际上是相当于request.getParameter("name")方法3.空连接href="#"方法:其实也是空..
分类:
编程语言 时间:
2015-10-25 22:48:55
阅读次数:
303
1.property文件加载 使用: 当你引用framework-core时,需要在加载spring配置文件classpath*:spring/applicationContext*.xml,可以在web.xml中这样配置 <context-param>
<param-name>contextConfigLocation<...
分类:
其他好文 时间:
2015-10-23 10:27:28
阅读次数:
135
要实现的效果: 这里只说用到的几个知识点1.图片包含文字在设置文字的Frame的时候,使用背景(按钮)的尺寸,文字使用了内边距背景图片,使用拉伸/** * 返回一张可以随意拉伸不变形的图片 * * @param name 图片名字 */+ (UIImage *)resizableImage:(N.....
分类:
移动开发 时间:
2015-09-19 18:17:20
阅读次数:
288
function param(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r ...
分类:
Web程序 时间:
2015-09-16 14:10:38
阅读次数:
118
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>webApp.root</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>WEB-INF/cl..
分类:
移动开发 时间:
2015-09-15 01:43:40
阅读次数:
686
web.xml <listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
????<param-name>contextConfigLocation</param-name>
????...
分类:
编程语言 时间:
2015-09-10 17:55:06
阅读次数:
173