在做项目时遇到了这个异常,网上一查才知道 JSTL core库的版本问题。
当我们在web.xml中使用: ..... 时 我们在jsp才用方式引入。 而当我们的web.xml是 或 则需要: 在jsp中用方式引入。
若若版本不对应在运行时可能...
分类:
其他好文 时间:
2014-04-30 19:40:13
阅读次数:
443
1、jQuery获取Select元素,并选择的Text和Value: 1.
$("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var
checkText=$("#select_id").find(.....
分类:
Web程序 时间:
2014-04-30 19:27:58
阅读次数:
555
XmlDataSource BasicsThe XmlDataSource control
exists merely as a proxy for retrieving XML data, which can then be
programmatically accessed or bound t...
分类:
数据库 时间:
2014-04-30 19:04:56
阅读次数:
727
1.目的:为了将元素的find方法和业务逻辑分开来。如果元素的页面位置发生了变化,只需改动一个文件,而不影响业务的实现。2.原理:一般一个页面对应一个class,在class里描述所有要用到的webelement。通过PageFactory.initWebElement(Webdriver
d,th...
分类:
其他好文 时间:
2014-04-30 17:58:23
阅读次数:
337
1. 存入图片 Connection con=db.conn; PreparedStatement
pstmt; //File file = upload; FileInputStream inputImage = new FileInputS...
分类:
编程语言 时间:
2014-04-30 17:27:01
阅读次数:
476
平时做算法题目, 没少用到 GDB, 但今天才意识到 Project 的调试方法与单个 cpp
文件的不同之处, 比如 gdb list 命令, 在单个 cpp 文件中列出的是源代码, 但在 project 中却什么都不显示Project Debug 时,
file 参数的使用[1] 有讲解, UP...
分类:
数据库 时间:
2014-04-30 17:23:01
阅读次数:
527
procedure TDataEditDrFrm.btn8Click(Sender:
TObject);varexcelx,excely:string;ExcelApp:Variant;workBook:OleVariant;excelRowCount,excelColumnCount:longin...
分类:
其他好文 时间:
2014-04-30 15:17:44
阅读次数:
427
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM
100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int
find(int x) {10 i...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:
其他好文 时间:
2014-04-29 17:15:48
阅读次数:
363
Validate if a given string is numeric.Some
examples:"0"=>true" 0.1 "=>true"abc"=>false"1
a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-04-29 16:45:45
阅读次数:
398