自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

日积月累

欢迎大家留言讨论,共同进步

  • 博客(14)
  • 资源 (1)
  • 收藏
  • 关注

原创 db2的rollup和cube函数

rollup和cube统计

2014-09-11 16:22:36 2089

原创 几种AOP编程

java中几种常用的AOP编程

2014-08-15 14:52:18 671

原创 spring3 bean容器相关源码学习----ApplicationContext接口

/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y

2014-08-13 10:22:54 644

原创 struts1源码学习9,command链对request和response的处理

先看chain-config.xml <command className="org.apache.struts.chain.commands.ExceptionCatcher" catalogName="struts" exceptionCommand="servlet-exception" /> <lookup

2014-08-08 09:40:24 614

原创 struts1源码学习8,chainBase对request和response的处理

ComposableRequestProcessor的process方法中,最核心的部分实际上是chainBase这个对象来处理的。在ActionServlet.init执行完之后,这个chainBase对象中包含三个command。当chainBase.excute()时,会分别执行三个command的excute。而这三个command中,又由于有lookUpCommand的存在,导致命令

2014-08-07 11:08:56 1333

原创 struts1源码学习7,action处理核心ComposableRequestProcessor

先上源码/* * $Id: ComposableRequestProcessor.java 471754 2006-11-06 14:55:09Z husted $ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the

2014-08-06 14:03:17 1325

原创 struts1源码学习6(doPost和doGet)

ActionServlet中的doPost和doGet的代码是一样的,都是调用process

2014-08-04 20:30:20 611

原创 struts源码学习5

ActionServlet.init()1、initModuleForwards

2014-08-04 19:56:53 467

原创 struts1源码学习4

ActionServlet中init方法public void init() throws ServletException { final String configPrefix = "config/"; final int configPrefixLength = configPrefix.length() - 1; // Wraps th

2014-07-31 14:32:57 461

原创 struts1源码学习1

ActionServlet初始化方法initpublic class ActionServlet extends HttpServlet//servlet初始化 public void init() throws ServletException { final String configPrefix = "config/"; final int c

2014-07-31 14:08:21 566

原创 servlet3.0新特性测试,文件上传(1)

servlet代码@MultipartConfig()@WebServlet(name = "test", urlPatterns = "*.do", initParams = { @WebInitParam(name = "", value = "") }, loadOnStartup = 3)public class TestServlet3 extends HttpServlet {

2014-07-30 12:35:55 423

原创 struts1源码学习3

public void init() throws ServletException {        final String configPrefix = "config/";        final int configPrefixLength = configPrefix.length() - 1;        // Wraps the entire initializatio

2014-07-30 12:35:53 473

原创 Digester

Digester是apache的一个xml解析工具。最近研究struts1源码时候才发现这东西挺好用的,可以很轻松的把XML转化成java对象。上代码public class Acptrule { private String id; private List rules=new ArrayList(); public String getId() { return id; } pu

2014-07-30 12:35:51 349

原创 struts1源码学习2(initChain)

先上代码protected void initChain()        throws ServletException {        // Parse the configuration file specified by path or resource        try {        //还是先从servlet配置中找chainConfig        //默认值是

2014-07-30 12:35:49 482

oracle·10G函数大全

oracle·10G函数大全,eg.ABS(x) 【功能】返回x的绝对值 【参数】x,数字型表达式 【返回】数字 【示例】 select abs(100),abs(-100) from dual;

2011-08-03

空空如也

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

TA关注的人

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