摘要:
Http存在两种最常用的提交方式:Get和Post(电话面试有问到两种提交方式的区别) 什么是HTTP? 超文本传输协议(HTTP)的设计目的是保证客户机与服务器之间的通信。 HTTP 的工作方式是客户机与服务器之间的请求-应答协议。 web 浏览器可能是客户端,而计算机上的网络应用程序也可能作为服 阅读全文
摘要:
Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between i and j equals 阅读全文
摘要:
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function 阅读全文
摘要:
今天是学习Hibernate的第三天,主要分析一下Hibernate的配置文件中的信息 Hibernate中的配置文件有两种,第一种是主配置文件hibernate.cfg.xml,第二种是映射配置文件Student.hbm.xml 一.主配置文件 首先主配置文件的文件名一般为hibernate.cf 阅读全文
摘要:
今天继续学习hibernate Hibernate中主要存在三大对象Configuration对象、SessionFactory对象和Session对象。 一.Configuration对象 Configuration对象用于加载配置文件,使用Configuration对象中的configure() 阅读全文
摘要:
今天开始学习Hibernate,开启我的第一个Hibernate程序 1.方法一:myeclipse自动生成 首先,建立一个数据库student 第二步,在student数据库中建立一张表student 第三步,打开 myeclipse10,打开MyEclipse Hibernate preperc 阅读全文
摘要:
今天学习了第一个struts2程序 第一步建立一个java web程序 第二步 加入jar包 第三步 添加两个jsp文件 login.jsp和result.jsp文件 login.jsp 在body部分加入 <body> <form action="login"> 用户名:<input type=" 阅读全文