05 2016 档案
摘要:实体类:一个带参数的构造方法,一个不带参数的构造方法。 注意工程的目录结构以及 user.hbm.xml 文件中,<class name = "entity.Users"> 写上包名。 schemaExport 生成表结构:
阅读全文
摘要:1 package com.imooc.db; 2 3 4 import java.sql.Connection; 5 import java.sql.DriverManager; 6 import java.sql.ResultSet; 7 import java.sql.SQLException; 8 import java.sql.Statement; 9...
阅读全文
摘要:HTTP Status 404 - There is no Action mapped for namespace [/] and action nam struts.xml 文件一定要放到src 目录下面。 struts.xml 注意: web.xml 校验器代码: User.hbm.xml Hi
阅读全文
摘要:#include #include #include #include #include using namespace std; int Next[1005]={-1}; char a[1005],b[1005]; int m,n,cnt; void getNext() { int t=-1; int j=0; while(j<m-1) { ...
阅读全文

浙公网安备 33010602011771号