上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 1.hosted,宿主仓库,部署自己的jar到这个类型的仓库,包括releases和snapshot两部分,Releases公司内部发布版本仓库、 Snapshots 公司内部测试版本仓库 2.proxy,代理仓库,用于代理远程的公共仓库,如maven中央仓库,用户连接私服,私服自动去中央仓库下载j 阅读全文
posted @ 2017-11-26 19:51 scwyfy 阅读(3841) 评论(0) 推荐(0) 编辑
摘要: /** * 一、Session查询 * get()在无主键的情况下返回null * load()在无主键的情况下会产生异常 **/ HibernateSessionFactory.getSession().get(Member.class, "id-a"); ... 阅读全文
posted @ 2017-10-31 21:42 scwyfy 阅读(154) 评论(0) 推荐(0) 编辑
摘要: /* Session接口下操作存在以下问题: 数据更新操作: 1、更新的时候必须要有主键; 2、若只更新部分字段内容,则未设置的字段将被设置为Null(全表更新) 3、update()没有返回值,即不知道操作是否成功 4、如果对象是持久态,则修改数据后不用调用update或merge方法, ... 阅读全文
posted @ 2017-10-29 23:40 scwyfy 阅读(1655) 评论(0) 推荐(0) 编辑
摘要: 动态处理表格数据 部门编号: 部门名称: 部门编号 部门名称 操作 ... 阅读全文
posted @ 2017-10-25 21:53 scwyfy 阅读(473) 评论(0) 推荐(0) 编辑
摘要: package cn.xxx.test; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import org.... 阅读全文
posted @ 2017-10-25 20:29 scwyfy 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 一、val()、text()、html()方法 阅读全文
posted @ 2017-10-25 11:36 scwyfy 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 九、表单选择器 <script type="text/javascript"> $(function(){ $(":input").attr("class","txt");//取得所有的输入组件 $(":password").attr("class","txt");//取得所有的密码框组件 $(": 阅读全文
posted @ 2017-10-25 11:27 scwyfy 阅读(185) 评论(0) 推荐(0) 编辑
摘要: public class ServletJSON extends HttpServlet { @Override public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ... 阅读全文
posted @ 2017-10-25 08:58 scwyfy 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 注意: 1.重写加载验证码需要在src路径后添加随机变化的数:保证提交路径不是同一个; 2.验证整体表单提交的时候,不能直接调用含有ajax异步处理的方法的返回结果,而是采用一个变量来完成验证操作; 阅读全文
posted @ 2017-10-24 09:26 scwyfy 阅读(181) 评论(0) 推荐(0) 编辑
摘要: /** * 读取(解析)xml文件 * @author Administrator * */ public class DOMRead { public static void main(String[] args) throws Exception{ File file=new File("e:\\contact.xml"); InputStream in... 阅读全文
posted @ 2017-10-23 14:45 scwyfy 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页