10 2013 档案
摘要:1. ${} 是直接进行替换,原样输出,不安全;2. #{}作为字符串进行替换,能够预编译,有效防止sql注入!所以CONCAT(CONCAT('%', #{param}), '%')可以等同于'%${param}%'
阅读全文
摘要:class Base { private String name = "base"; public Base(){ tellName(); printName(name); } public void tellName(){ System.out.println("Base tell name...
阅读全文
摘要:摘要:uploadify 自动请求url, 初始化时自动请求url解决方法。项目中使用了uploadify 上传图片,当访问到上传页面url,uploadify初始化时再一次访问该url当我在配置uploadify时,指定1button_image_url会解决这个问题,他会访问指定的url地址,如...
阅读全文
摘要:#include"iostream"using namespace std;int pre[30];int in[30];int post[30];int indexOfRootIn(int start,int stop,int root){ for(int j=start;j>N; f...
阅读全文
摘要:public class Order { int findPosInInOrder(String str,String in,int position){ char c = str.charAt(position); int length = in.length(); for(int i=0...
阅读全文
摘要:A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years...
阅读全文
浙公网安备 33010602011771号