Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2524149
  • 博文数量: 245
  • 博客积分: 4125
  • 博客等级: 上校
  • 技术积分: 3113
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-25 23:56
文章分类

全部博文(245)

文章存档

2015年(2)

2014年(26)

2013年(41)

2012年(40)

2011年(134)

2010年(2)

发布时间:2012-12-27 13:04:25

java官方文档中这样描述ServletContext: 点击(此处)折叠或打开There is one context per "web application" per Java Virtual Machine.这意味着:每一个web应用在每一个JVM中只有一个 ServletContext  (上下文)。Several Web Apps on one Server (one JVM):  点击(此处)折叠或打开Web App A - Server/JVM 1 - Context 1 Web App B - Server/JVM 1 - Context 2 Web Ap......【阅读全文】

阅读(2794) | 评论(0) | 转发(0)

发布时间:2012-12-27 09:19:23

使用Eclipse创建的java项目结构如下: 点击(此处)折叠或打开-lib  --some jar files  --vertx-core-1.3.0.final.jar  --vertx-platform-1.3.0.final.jar-src  --packagename  --http  --ServerExample.java  --ClientExample.java命令行下切换到src所在目录: 点击(此处)折叠或打开D:\software\eclipse-jee\workspace\vertx\src>......【阅读全文】

阅读(3251) | 评论(0) | 转发(0)

发布时间:2012-12-25 10:14:39

使用mongodb进行增删改查等基本操作。本例使用 mongodb-win32-i386-2.0.8 , 在windows xp下进行测试。 MongoDB客户端和服务端都运行在本地(同一台机器)。1.安装MongoDB1.1.下载mongodb,并解压,本例安装在D:\J2ee\mongodb-win32-i386-2.0.81.2.使用mongod.exe启动mongodb$MongoDB-folder/bin/mongod 点击(此处)折叠或打开D:\J2ee\mongodb-win32-i386-2.0.8\bin>mongodmongod --help for help and......【阅读全文】

阅读(4200) | 评论(1) | 转发(0)

发布时间:2012-12-18 15:21:28

 Microsoft模型:给element绑定click事件 点击(此处)折叠或打开element.attachEvent('onclick',doSomething);  W3C模型:给element绑定click事件 点击(此处)折叠或打开element.addEventListener('click',doSomething,false);W3C模型的关键是addEventListener()方法。它有3个参数: the event type, the function to be executed and a boolean (true or false) .&nb......【阅读全文】

阅读(2913) | 评论(1) | 转发(0)
给主人留下些什么吧!~~

甜心1832013-07-24 18:45

大牛级人物,膜拜

回复  |  举报

ansnq8572013-04-03 13:12

好好学习,天天向上

回复  |  举报

大鬼不动2010-08-09 00:57

回复  |  举报
留言热议
请登录后留言。

登录 注册