自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(70)
  • 资源 (1)
  • 收藏
  • 关注

转载 2017年美国50家最顶尖的初创公司排行榜

2017年美国50家最顶尖的初创公司排行榜(上)达达2017-11-09有些产品你可能每天都在用,而有些产品你可能从未听过。编者按:近日,LinkedIn评选出了「2017年美国50家最顶尖的初创公司」榜单。通过本文,让我们一起来看看当下美国最具颠覆性的初创公司都有哪些。有些公司的产品你可能每天都在用,不过大部分公司你可能从未听说过。因文章较长,为方便阅读,特分为上、下两篇。...

2019-06-12 18:05:12 3252

翻译 spring mvc mongodb

spring整合mongodb

2017-12-01 11:59:59 538

原创 Linux下mongodb安装

Linux下mongodb安装

2017-11-30 18:12:01 1773

原创 nginx根据域名转发不同ip端口

nginx根据域名转发不同端口

2017-11-24 10:30:32 3390

翻译 java 文件上传到ftp

ajax文件上传ftp

2017-11-11 14:52:06 1289

翻译 ajax文件上传

spring ajax文件上传

2017-11-10 12:08:07 230

翻译 spring文件上传

spring 文件上传

2017-11-10 12:02:36 238

翻译 html保存页面为图片

html保存页面为图片

2017-11-03 11:42:30 2188

翻译 android实现导航栏

android实现底部导航首先创建mainActivity,先看页面上的排版数据:xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.

2017-10-23 20:59:52 773

原创 css阴影效果

实现css阴影效果.tesr{    width: 96%;    margin-left: 2%;    padding-top: 5%;    margin-top: 5%;    box-shadow: -2px 0 0 #1aad19, //左阴影                                   0 -2px 0

2017-10-17 09:48:14 1026

翻译 hibernate执行更新或保存

执行前提是要在表中设置唯一性索引  这里description是唯一的/**** 根据description判读按是否已存在相同description值* 存在就更新,不存在就插入 * */@Overridepublic void insert(User user) {// TODO Auto-generated method stubString hsql="IN

2017-10-09 23:54:08 563

翻译 jsp页面传参中文乱码

前一个页面var myurl=getRootPath()+"/pages/admin/detailPartol.jsp?patrolName="+patrolName;    window.location.assign(encodeURI(myurl));接收页面  var str=decodeURI(location.href); 

2017-10-09 23:46:36 233

翻译 js获取项目路径

function  getPath(){                     var pathName = document.location.pathname;                     var index = pathName.substr(1).indexOf("/");                    var result = pathName.su

2017-10-09 23:18:07 310

翻译 tomcat部署多个相同项目

大家可能会遇到,tomcat下面部署相同的项目,可能项目内容有了改动,但项目是复制过来的,所以还是有很大相同,部署出现Choose unique values for the 'webAppRootKey' context-param in your web.xml files!只需要在其中一个项目web.xml文件夹下添加一个不同于其他项目的项目名即可     

2017-10-09 23:13:37 529

翻译 hibernate求和

hibernate求和使用的是createSQLQuery方法,用以执行sql语句。这里面具体hibernate相关session等操作这里不介绍了,不懂看前面文章。service层,执行相应sql语句:StringBuffer sb=new StringBuffer();sb.append("SELECT SUM(u.userAnswerScore)

2017-10-09 23:00:37 1488

原创 hibernate使用session操作数据库

前面一章介绍spring boot使用hibernate,采用的是EntityManager实现hibernate数据交互,现在这里改用Session@Autowiredprivate SessionFactory sessionFactory;private Session getSession() {       return this.sessionFactory.ope

2017-10-09 22:55:35 239

原创 spring boot hibernate

上一篇文章我已经介绍了如何实现spring bootmvc框架,现在引入hibernate首先先说一下,spring boot已经融合了hibernate,所以不需要你在导入什么jar文件。这里只需要在加入一个jar,springboot数据处理的jar文件  org.springframework.boot spring-boot-starter-data-jpa

2017-08-20 22:16:42 1303

原创 学习搭建springboot框架

springboot最近比较流行吧,少了很多spring配置,以前要搭建spring框架,配置时间挺头疼的事。springboot相对来说就要方便很多,而且后期使用springcould微服务,也是很好的扩展。下面把我的搭建分享给大家这里用maven搭建maven项目创建不会参考我这一篇文章http://blog.csdn.net/qq_28345313/article/details/7

2017-08-18 21:03:35 444

原创 MyEclipse10安装svn

最近公司用MyEclipse开发,安装svn一直失败。后来使用离线文件安装成功。MyEclipse10下载链接: http://pan.baidu.com/s/1gePsQLd 密码: 7ayh安装svn很方便,下载链接: http://pan.baidu.com/s/1mizG1k8 密码: et4s只需要将 features和plugins文件夹下内容拷贝到MyEcli

2017-08-16 14:15:34 1263

原创 一步步搭建Springmvc+hibernate(2)——spring整合hibernate详解

上一篇,已经介绍如何搭建spring mvc框架。现在融入hibernate.spring融合hibernate,现在很多人都是不懂,然后胡乱糅合一大推包,然后项目能运行就行了,别的都不考虑。但,这对于对于每一个包的作用,知识点理解都是不方便的。所以学习,还以一步步来。下面,我来介绍如何搭建ssh框架,每个jra包作用。 4.0.6.RELEASE4.3.5.Final

2017-08-11 14:15:05 396 1

原创 一步步搭建Springmvc+hibernate框架(1)——spring mvc

最近公司用到hibernate,自己好多年没用hibernate了,所以现在试试。这次建立的是maven项目,项目已经建好了,如何创建,这里我不在多说,不会的亲参考我其他文章。首先第一步,先引入spring mvc框架:导入相关jar包。  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.ap

2017-08-07 22:57:24 594

翻译 maven执行install命令报错

学习他的http://blog.csdn.net/sd4015700/article/details/39992929如果报这个错: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project Test1: The packaging fo

2017-08-07 18:17:41 8344 1

原创 netty实现websocket

具体请参考:https://waylau.gitbooks.io/essential-netty-in-action/NETTY%20BY%20EXAMPLE/WebSockets.html这里我用的是netty4jar包,我存在这里了http://pan.baidu.com/s/1cm3dAA具体代码我就不贴了

2017-08-07 00:42:17 553 1

原创 netty的tcp服务端

jar包下载,http://pan.baidu.com/s/1hr2VBzYimport org.apache.log4j.Logger;import io.netty.bootstrap.ServerBootstrap;import io.netty.channel.ChannelFuture;import io.netty.channel.ChannelInitiali

2017-08-07 00:39:09 4419

原创 netty实现tcp客户端

里面jar,这里下载netty实现tcp客户端http://pan.baidu.com/s/1hr2VBzYimport io.netty.bootstrap.Bootstrap;import io.netty.channel.Channel;import io.netty.channel.ChannelFuture;import io.netty.channel.Ch

2017-08-07 00:36:12 4802

原创 netty创建udp客户端

介绍本书给大家,netty最新的技术书籍,已有实体书籍,我买了一本,但内容没有这个全面https://waylau.gitbooks.io/essential-netty-in-action/具体请参照我上一篇文章,netty的udp服务端启动类package com.use.socket.udp.client;import java.net.InetSocketA

2017-08-07 00:29:52 4856

原创 Netty创建upd服务端

这里需要netty的jar包文件,我已经上传到百度云,提供下载:这里使用的是netty5http://pan.baidu.com/s/1hr2VBzY服务端:package com.use.socket.udp.Server;import io.netty.bootstrap.Bootstrap;import io.netty.channel.ChannelOp

2017-08-07 00:21:24 1030

原创 eclipse创建maven项目

eclipse创建maven项目,eclipse中右键,.新建项目,选择Other..选择maven project项目点击“Next”进入下一步创建maven项目□ Create a simple project(skip archetype selection) (翻译:创建一个简单项目(跳过原型选择))。如果选择这个将直接跳过maven的项目原型(模版)选

2017-08-06 23:44:57 487 1

翻译 获取微信用户信息

参考学习别人的,项目中使用还可以,如有问标题,在下面留言。里面一些关于微信涉及其他请求信息,参考我其他微信相关文章window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx575sdfsdffsdfs&redirect_uri=http://www.baidu.com/html/index

2017-08-06 19:58:56 440

翻译 微信开发,自定义菜单配置

把代码上传到微信公众号管理平台即可 前面具体步骤参考:https://jingyan.baidu.com/article/6525d4b1376613ac7d2e94f8.html{     "button":[     {           "type":"click",          "name":"按钮1",     

2017-08-06 19:52:30 261

原创 微信开发第一步,引入微信api

以前公司准备开发微信公众号,自己百度一下,学习别人的做的,具体从哪看的记不清了。这是整理的笔记。贴出代码,以供参考后台public class WeiXinConfigModel {public String timestamp;public String signature;public String noncestr;public String appi

2017-08-06 17:54:12 1418

原创 Eclipse配置git,提交项目

这里如果选择http协议,eclipse也

2017-08-05 18:49:14 285

原创 Linux安装git

安装GitCentOS6以上已经支持git,所以无需下载插件,直接安装:先输入:git -version查看是否有git环境Unknown option: -versionusage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]           [-p|--paginate|--no-pager]

2017-08-05 18:06:11 400

原创 往linux服务器传值报错defined in RFC 7230 and RFC 3986

上次做公司项目,前段ajax参数提交到linux服务器,无法取值,报错。defined in RFC 7230 and RFC 3986原因是linux服务器不支持“#”号作为参数分隔符建议参考:http://stackoverflow.com/questions/19571599/org-apache-coyote-http11-abstracthttp11processor-p

2017-08-05 17:24:31 422

原创 css根据屏幕大小切换样式

首先html head之间加入:content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"name="viewport">需要写两个样式@media(max-width:669px){//当屏幕最大669时,

2017-08-05 16:40:37 6368

原创 jquery操作数组

var selectCount=[];添加元素: selectCount.push($(this).val());删除元素: var index=selectCount.indexOf($(this).val()); if(index!=-1){ selectCount.splice(index,1);}

2017-08-05 16:35:45 293

原创 jquery ajax传递数组

//定义一个数组var selectCount=[];$.ajax({url:'/bb/aaa',type:'post',dateType:'json',traditional:true,   //注意这个地方data:{'selectCount':selectCount},success:function(res){},error:functi

2017-08-05 16:32:55 1163

原创 nginx配置负载均衡

修改nginx配置文件nginx.conf#user  nobody;worker_processes  1;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info;#pid        logs/nginx

2017-08-05 15:57:20 707

原创 spring整合redis(2)spring操作redis数据

在我的上一篇文章,已经介绍了spring整合redis方法介绍,这里不在赘述,spring整合redis参考网址http://blog.csdn.net/qq_28345313/article/details/76713827下面给的大家介绍spring操作redis实现存储和删除数据这里有官方中文文档http://redisdoc.com/  建议多看一下首先添加配置redis具

2017-08-05 15:52:01 402

原创 spring整合redis

这里有一篇文章介绍很详细,我参考他的http://www.cnblogs.com/zhrxidian/p/5491285.html需要的jar包文件如下commons-pool2-2.2.jarjedis-2.7.3.jarspring-data-redis-1.6.1.RELEASE.jarspring-session-1.1.1.RELEASE.ja

2017-08-05 11:29:09 286

基于SSH的银行管理系统

基于SSH的银行管理系统,运用了Struts2+Hibernate4+Spring3技术,运行工具MyEclipse+mysql.

2015-11-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除