public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=gb2312"); PrintWriter out = response.getWriter(); String titleid="1";//标题id String fileName=new String();//上传的文件名称 dbCo ...
  • 18:59
  • 浏览 (39)
  • 评论 (0)
.日期时间间隔操作   当前时间减去7分钟的时间   select sysdate,sysdate - interval ’7’ MINUTE from dual   当前时间减去7小时的时间   select sysdate - interval ’7’ hour from dual   当前时间减去7天的时间   select sysdate - interval ’7’ day from dual   当前时间减去7月的时间   select sysdate,sysdate - interval ’7’ month from dual   当前时间减去7年的时间    ...
  • 16:34
  • 浏览 (48)
  • 评论 (0)
public class FileOperate { /** * 创建目录 * @param folderPath:目录路径 * @return * @throws IOException */ public static boolean createFolder(String folderPath) throws IOException{ boolean result = false; File f = new File(folderPath); result = f.mkdirs(); return result; } /** * 删除目录下所有文件 * @param directory ...
  • 14:13
  • 浏览 (53)
  • 评论 (0)
一,Log4J配置文件学习: Log4j支持两种配置文件格式,一种是XML格式的文件,一种是Java特性文件(键=值). 下面我们首先介绍使用Java特性文件做为配置文件的方法: 分析一个配置文件log4j.properties log4j.rootCategory=debug, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output t ...
  • 14:44
  • 浏览 (68)
  • 评论 (0)
1.java语法,j2se基础,基本的类库 2.学习jsp+javabean. 3.学习servlet. 4.运用jsp+servlet+javabean开发一两个项目 5.学习设计模式(不用太深入,在以后开发过程中逐步体会精髓) 6.学习一种MVC框架,比如(struts1.0,struts2.0,springMVC,JSF等等) 7.学习一种持久层框架,比如hibernate,ibatis等等 8.学习业务层模式 Ioc依赖注射模式及其应用案例,比如springIOC 9.学习AOP思想比如SpringAOP或者AspectJ 10.学习大型企业应用集群,分布式计算,缓存 ...
  • 09:56
  • 浏览 (71)
  • 评论 (0)
mihuxiaozhu
搜索本博客
博客分类
最近加入圈子
存档
最新评论