
web application展示层
wenjie12201
这个作者很懒,什么都没留下…
展开
-
jsp不能使用EL解决方法
加入<%@ page isELIgnored="false"%>即可原创 2008-10-23 23:28:53 · 153 阅读 · 0 评论 -
struts1 logic标签的使用
struts标签使用举例-logic 1. logic:empty 该标签是用来判断是否为空的。如果为空,该标签体中嵌入的内容就会被处理。该标签用于以下情况: 1)当Java对象为null时; 2)当String对象为""时; 3)当java.util.Collection对象中的isEmpty()返回true时; ...原创 2008-10-24 00:14:30 · 98 阅读 · 0 评论 -
JSP自定义标签(转)
一、JSP自定义标签简介标签是一种XML元素,通过标签可以使JSP网页变得简洁并且易于维护,还可以方便地实现同一个JSP文件支持多种语言版本。由于标签是XML元素,所以它的名称和属性都是大小写敏感的标准JSP标签是用来调用JavaBean组件的操作,处理定向请求以简化JSP页面开发与维护。JSP技术提供了一种封装其它动态类型的机制——自定义标签,它扩展了JSP语言。自定义标签通常发布在标签库中,该...2010-04-19 16:07:37 · 107 阅读 · 0 评论 -
struts2 debugModel
com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters 严重: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'submit' on 'class com.learning.action.Login...原创 2009-08-20 09:59:07 · 153 阅读 · 0 评论 -
httpclient get 例子
String url = "http://IP:PORT/abc"; HttpClient client = new HttpClient(); String params = "SPNUM=1062106280&MOBILE=15906563170&CONTENT=123" ; HttpMethod method = new GetMethod(url); ...原创 2010-02-10 10:02:14 · 100 阅读 · 0 评论 -
freemarker 类型转换
操作字符串函数 1. substring(start,end)从一个字符串中截取子串 start:截取子串开始的索引,start必须大于等于0,小于等于endend: 截取子串的长度,end必须大于等于0,小于等于字符串长度,如果省略该参数,默认为字符串长度。例子:${‘str’?substring(0)} 结果为str ${‘str’?substring(1)} 结果为tr ${‘str...原创 2012-10-17 11:06:17 · 671 阅读 · 0 评论 -
去除strtus ognl.MethodFailedException WARN
strtus ognl.MethodFailedException WARN OgnlValueStack:49 - Error setting expression 分类: struts2010-12-10 16:03 2621人阅读 评论(0) 收藏 举报 由于这个错误不影响前台运行 第一种解决方案(这种比较简单): 在log4j.properties文件中...原创 2012-11-17 10:27:55 · 88 阅读 · 0 评论 -
artdialog 参数
artdialog层次是指:zIndex: 2000原创 2014-03-13 17:16:46 · 106 阅读 · 0 评论