- 博客(5)
- 收藏
- 关注
原创 用xshell5连接ubuntu系统教程,以及一些其它的问题
一.首先要下载好xshell5软件,最好到官网下载二.安装好之后要把把目标地址ip填上去第三.连接如果过程中连不上的话,应该是你的ip打错了。或者你的linux没有开启ssh服务器所以你要安装或者开启ssh服务安装ssh服务,输入命令#sudo apt-get install openssh-server 启动服务#/etc/init.d/ssh sta
2017-07-26 19:31:25
629
1
原创 hibernate入门的基本配置
第一引包第二编写hibernate.cfg.xml文件org.gjt.mm.mysql.Driverjdbc:mysql://localhost:3306/jdbc//记得要在数据库create数据库root1org.hibernate.dialect.MySQLDialectthreadtrueupdate
2017-07-06 23:18:09
210
原创 springmvc的配置
这是项目视图所需要引入架包首先配置web.xml需要配置等dispatcherServlet、以及springmvc下的配置文件和名称、字符编码、静态资源处理xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x
2017-07-06 12:02:52
203
转载 OpenSessionInViewFilter配置
OpenSessionInViewFilter配置OpenSessionInViewFilter是用来处理懒加载异常的。懒加载异常的意思的就是:还用不到的东西,就先不加载,等需要的时候再来加载。所以懒加载对性能有一定的提升,但是,这也会出现一些问题,一般来说,事务开始的时候Session就被获取,事务结束的时候Session就会被关闭。所以懒加载会出现Session已关闭,
2017-07-03 22:30:37
188
原创 这是数组升序的排序的案例
public class ArrayDemo {public static void main(String[] args) {int[] arr = {2,5,7,1,3,6,3,2,12,3,5,67,21};selectSort(arr);for(int x = 0 ; x System.out.println(arr[x]);}}public static
2017-06-30 02:05:04
381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅