- 博客(6)
- 资源 (4)
- 收藏
- 关注
原创 java-poi处理excell
版本问题如果提示: classnotfoundexcepiont:org/apache/poi/ss.usermodel.Workbook需要下载的包dependencies { compile "org.apache.poi:poi:3.9" compile "org.apache.poi:poi-excelant:3.9" compile "or
2016-03-29 09:59:41 926
原创 php极速入门2
多维数组$cars = array ( array("Volvo",22,18), array("BMW",15,13), array("Saab",5,2), array("Land Rover",17,15) ); ```- 时间函数date(format,timestamp);format必选 ```php <?phpecho "今天是 " . date(
2016-03-27 15:14:38 1013
原创 php极速入门
php极速入门1.环境搭建LAMP Zend Apache Mysql PHP Linux PHP Hypertext Preprocessor2.基本语法1.Hellworld<!DOCTYPE html><html><body><?phpecho "Hello World!";?></body></html>- _GET[] //method=”get”验证<?php/
2016-03-27 15:14:01 832
原创 生成验证码
登录的时候,需要生成验证码,当然最简单的一种就是制作一个具体实现package cn.goldwind.service.captcha;import com.octo.captcha.engine.CaptchaEngine;import com.octo.captcha.service.captchastore.CaptchaStore;import com.octo.captcha.serv
2016-03-26 19:05:08 1753
原创 String字符串为空
String字符串中的一个误区str==null ||str.equals("")) (注意顺序) 说明: 如果str==null说明str还未定义内容。此时,谈不上是否为空。 str="",说明str是个空字符串。只不过长度为0。 1 String s; 2 if(s==null) { 3 //为null; 4 } 5
2016-03-17 13:46:59 1796
原创 java基本规则
类名首字母大写,驼峰式;方法,对象名,变量首字母小写;包名全小写常数变量static final对于自己创建的每一个类,都考虑置入一个main(),其中包含了用于测试那个类的代码。为使用一个项目中的类,我们没必要删除测试代码。若进行了任何形式的改动,可方便地返回测试。这些代码也可作为如何使用类的一个示例使用。 使类尽可能短小精悍,而且只解决一个特定的问题。一个复杂的开关语句:考虑采用“多形”
2016-03-15 12:00:44 624
Computer Architecture A Quantitative Approach 5th(计算机体系结构量化研究方法第五版)
2012-11-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人