`
文章列表
public static char doVerify(String id); { char pszSrc[]=id.toCharArray();; int iS = 0; int iW[]={7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2}; char szVerCode[] = new char[]{'1','0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'}; int i; ...
记得以前看到过一篇文章,说HIBERNATE的HBM.XML文件可以不用一个一个写到SPRING的配置文件里,只要指定一个目录就可以,当时我简单试了一下,的确可以,但当时没有记下来,导致现在用到的时候GOOGLE不到(可能找法不对),很是郁闷,只好去看SPRING的源代码,终于被我找到。原来是mappingDirectoryLocations属性。只要如下写就可以:         <property name="mappingDirectoryLocations">             <list>         ...
Jert学习
//webwork的文档中自带 The xwork-optional package from dev.java.net contains a module xwork-spring that contains all the necessary code to use Spring in WebWork. It contains primarily a SpringObjectFactory to wire up the dependencies for an Action before passing it to WebWork. Each action should be configu ...
Global site tag (gtag.js) - Google Analytics