摘要:
一:依赖注入的方式 constructor-arg:通过构造函数注入。 property:通过setxx方法注入。 二:constructor-arg的简单使用 java代码 Java代码 public class Man { private String name ; private int ag 阅读全文
摘要:
超级管理员登录:运行下面代码 alter user [username] account unlock; 阅读全文
摘要:
实现select标签回显 1.<select name="curStatus" > <option value="0">-请选择-</option> <option value="1" <c:if test="${'1' eq curStatus}">selected</c:if> >男</opti 阅读全文
摘要:
解决方案1.是因为Hibernate和struts2引入的包产生冲突啦,去把xerces.jar移除就ok啦。路径所在 D:\Program Files\MyEclipse 7.0M1\eclipse\dropins\myeclipse\eclipse\plugins\com.genuitec... 阅读全文
摘要:
windows7上,cmd窗口默认编码为gbk,输出文本又包含非法字符,解决方法:文本.encode('utf-8','ignore');ignore为忽略那些非法字符。 阅读全文
摘要:
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Threading;using System... 阅读全文
摘要:
SQL:"IN"FunctionTheINfunctionhelpsreducetheneedtousemultipleORconditions.译:IN函数有助于减少OR条件的复合使用。ThesyntaxfortheINfunctionis:译:IN函数的语法:SELECTcolumnsFROMt... 阅读全文