项长老

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2016年2月16日

摘要: package com.baidu.web.servlet; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.imag 阅读全文
posted @ 2016-02-16 12:37 项长老 阅读(1505) 评论(0) 推荐(0) 编辑

摘要: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String path = this.getServletCon 阅读全文
posted @ 2016-02-16 11:47 项长老 阅读(215) 评论(0) 推荐(0) 编辑

2016年2月15日

摘要: 1.新建Maven Projectnew project-->选择 Maven Project --> 下一步选择工作空间 -->下一步在Filter中输入 org.apache.maven.archetypes-->选择Artifact Id为 maven-archetype-webapp的那条- 阅读全文
posted @ 2016-02-15 23:29 项长老 阅读(270) 评论(0) 推荐(0) 编辑

摘要: 1、安装Spring Tool Sui 登录http://spring.io/tools/sts/all 下载所需的Spring Tool Suit安装包 下载完成后 Eclipse --- Help--- Install new Sofware 点击Add按钮 ,再点击Archive 选择你刚刚下 阅读全文
posted @ 2016-02-15 20:55 项长老 阅读(194) 评论(0) 推荐(0) 编辑

2016年2月14日

摘要: 启动vmware相关服务,特别是被360禁止后。 保存为*.bat文件。VMware® Workstation 12 Pro 12.1.0 build-3272444测试有效。 @echo 进行服务设置 sc config VMwareHostd start= AUTO sc config VMAu 阅读全文
posted @ 2016-02-14 18:14 项长老 阅读(452) 评论(0) 推荐(0) 编辑

2016年2月12日

摘要: Centos 6.4 这是6系列的一个稳定版 JDK 7版本,hadoop许多组件是基于7开发的~ 6就跑不起来了~ Vmware。网卡设置VMNET8(NAT) 启动后,配置网络setup,然后重启网络service network restart 关闭图形界面init 3 设置securecrt 阅读全文
posted @ 2016-02-12 20:52 项长老 阅读(234) 评论(0) 推荐(0) 编辑

摘要: 类装载器 public class userDAO { private static Properties dbconfig =new Properties(); static{ try { InputStream instream =userDAO.class.getClassLoader().g 阅读全文
posted @ 2016-02-12 17:16 项长老 阅读(256) 评论(0) 推荐(0) 编辑

2016年2月11日

摘要: 样1_常用: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2016-02-11 22:51 项长老 阅读(1717) 评论(0) 推荐(0) 编辑

2016年2月7日

摘要: SVN -- subversion ①checkout 拷贝svn资源库的内容②commit 开发完后,提交③update 得到其他人开发的资源 访问svn默认端口3690 安装 下载svn服务器软件http://subversion.apache.org/packages.html 安装Win32 阅读全文
posted @ 2016-02-07 12:06 项长老 阅读(161) 评论(0) 推荐(0) 编辑

2016年2月6日

摘要: 读 File in = new File("src" + File.separator + "conf.properties");Properties properties = new Properties();properties.load(new FileInputStream(in)); Sy 阅读全文
posted @ 2016-02-06 23:58 项长老 阅读(178) 评论(0) 推荐(0) 编辑