- 博客(13)
- 资源 (11)
- 收藏
- 关注
转载 HashMap遍历的两种方式
第一种: Map map = new HashMap(); Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); Object key = entry.getKey(); Object val = en
2009-09-18 11:48:00 450
转载 JSON (JavaScript Object Notation)
JSON (JavaScript Object Notation)一种简单的数据格式,比xml更轻巧。 JSON 是 JavaScript 原生格式,这意味着在 JavaScript 中处理 JSON 数据不需要任何特殊的 API 或工具包。JSON的规则很简单: 对象是一个无序的“‘名称/值’对”集合。一个对象以“{”(左括号)开始,“}”(右括号)结束。每个“名称”后跟一个“:”(冒号);
2009-09-16 11:31:00 716
转载 Struts2+jquery实现下拉菜单联动
利用jquery实现了一个菜单(select)联动,属转帖 在实现之前,需要让struts2支持json格式的数据。这里需要一个插件jsonplugin-0[1].32.jar。中间的32表示支持struts2.0.x。如果使用struts2.1以上,则需要jsonplugin-0[1].34.jar。然后在struts.xml中配置如下:
2009-09-15 16:54:00 3949
转载 oracle连接池配置
这些细节包括:1、导入JDBC包2、注册oracle JDBC驱动程序3、打开数据库连接4、执行SQL DML语句在数据库表中获取、添加、修改和删除行 一、JDBC驱动程序 共有有4种1、Thin驱动程序 Thin驱动程序是所有驱动程序中资源消耗最小的,而且完全用java编写的。 该驱动程序只使用TCP/IP且要求Oracle Net。被称为第4类驱动程序。
2009-09-10 16:07:00 7980
原创 java/oracle日期处理
public class Test{ public static void main (String args []){ java.util.Date a = new java.util.Date(); System.out.println(a);
2009-09-04 10:49:00 644
原创 java时间格式大全
java.util.*;import java.text.*;import java.util.Calendar; public class VeDate {/** * 获取现在时间 * * @return 返回时间类型 yyyy-MM-dd HH:mm:ss */public static Date getNowDate() { Da
2009-09-04 10:32:00 673
原创 web商业智能BI,深入分析访问数据,从访问数据中挖掘财富(常用指标)
浏览数Page Views:网页(含文件及动态网页)被访客浏览的次数。Page View的计算范围包括了所有格式的网页,例如:.htm、.html、.asp、.cfm、 asa、cdx、htmls、shtm、shtml、txt等等,可以由用户根据实际情况自己设定。访问数Visits:也称为登陆数,一个登陆是指客户开始访问网站到离开网站的
2009-09-04 10:05:00 4383
原创 ActionContext(Action上下文)
ActionContext(Action上下文)ActionContext介绍我们知道Xwork与Web无关性,我们的Action不用去依赖于任何Web容器,不用和那些JavaServlet复杂的请求(Request)、响应(Response)关联在一起。对请求(Request)的参数(Param),可以使用拦截器框架自动调用一些get()和set()方法设置到对应的Actio
2009-09-03 17:18:00 1020
转载 jsp的9个内建对象
在jsp中不用定义可以直接用的就是jsp的9个内建对象了1,Request 2,Response 3,session 4,out 5,page 6,application 7,pageContext 8,config9,exception1、Request对象 该对象封装了用户提交的信息,通过调用该对象相应的方法可以获取封装的信息,即使用该对象可以 获取用户提交的信
2009-09-03 16:43:00 1115
原创 如何进行用户访问数据的记录和收集
对于每个来访网站的用户,我们都非常希望能够了解他们从哪里来?来看什么?对什么感兴趣?又为什么离开了网站等等?对于每一个网站访问的准确把握,可以统计出市场正在关注什么,潜在用户对什么东西感兴趣,我们该如何将他们想要的信息和我们要他们知道的
2009-09-03 16:41:00 4792
原创 网站流量及网站访问量统计指标的说明
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 通常说的网站流量(tr
2009-09-01 17:34:00 1563
原创 利用clickstream跟踪用户
http://www.opensymphony.com/clickstream/ 具体的例子可以看clickstream-1.0.2.warClickstream 概述 一个用来跟踪正在你的站点上访问的用户所到达位置细节的工具。它允许你跟踪访问你的站点的“点击流”或者“传输路径”。请访问JIRA的更新日志 来了解Clickstream最近的发展。特性 • 当用户会话产生时,开始跟踪点击流。
2009-09-01 14:11:00 1816 1
原创 Tomcat中web.xml文件的详细说明
Web.xml依次定议了如下元素: 定义了WEB应用的名字 声明WEB应用的描述信息 在web.xml中元素定义的先后顺序不能颠倒,否则Tomcat服务器可能会抛出SAXParseException. --> http://java.sun.com/dtd/web-app_2_3.dtd"> Sample Application This is a Sam
2009-09-01 13:33:00 1125
Android A Programmer's Guide(Android程序员向导) 英文版
2010-06-27
spring3.x 权威开发指南中文版
2010-05-24
PL/SQL 中文版
2009-08-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人