摘要: 1、fn:contains()和fn:containsIgnoreCase() fn:contains()函数用于确定一个字符串是否包含指定的子串。 fn:containsIgnoreCase()函数用于确定一个字符串是否包含指定的子串,忽略大小写。 示例如下: 2、fn:endsWith()和fn 阅读全文
posted @ 2018-09-26 15:37 魔豆 阅读(584) 评论(0) 推荐(0)
摘要: 使用jstl报错:According to TLD or attribute directive in tag file, attribute value does not accept any expressions 在使用jsp2.0版本时,标签中的属性不支持表达式。解决办法是将 <%@ tag 阅读全文
posted @ 2018-09-26 11:18 魔豆 阅读(269) 评论(0) 推荐(0)
摘要: 使用jstl报错:Can not find the tag library descriptor for “http://java.sun.com/jstl/core” 出现这个错误的原因是项目中没有jstl的包,解决方法是,将jstl-1.2.jar的包放到项目lib目录下即可。 阅读全文
posted @ 2018-09-26 11:11 魔豆 阅读(704) 评论(0) 推荐(0)