- 浏览: 134349 次
- 性别:
- 来自: 深圳
最新评论
-
jptiancai:
提供下第六种做法,多用些内存,遍历set的时候,用list删除 ...
解决ArrayList的ConcurrentModificationException -
langmanjian0212:
spring 2.5
spring中文文档下载 -
hoarhoar:
我已经更新了,现在是完整版了。请到csdn上下载,或者向我要。 ...
java编程思想第四版勘误下载 -
zzplovejava:
好,英文差有中文的先学学
spring中文文档下载 -
呆哥儿:
Service 确实 不过为什么没有得到广泛应用呢 !求教
使用泛型类简化服务层(Service)类的设计
文章列表
我的页面是facelets,想在页面加载时把光标放在文本输入光指定位置,网上很多人都是基于普通html,
下面是我的解决方案
<script>
function getPos(obj){
alert(obj);
obj.focus();
}
window.onload=function()
{
var node=document.getElementById('j_id16:name');
node.focus();
}
</script ...
- 2009-04-01 14:14
- 浏览 1427
- 评论(0)
现在项目组使用seam技术,我在开发multiple 数据源问题,
1 components.xml 配置
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
xmlns:core="http://jboss.com/products/seam/core"
xmlns:persistence="http://jboss.com/produ ...
var s="close";
function window.onunload(){
if(s=="fresh")
if(window.screenLeft>10000)
{
alert('close');
//logout();
}
else{
alert('fresh');
}
else{
alert('close');
// logout();
}
}
function window.onbeforeu ...
- 2009-04-01 13:58
- 浏览 2362
- 评论(0)
1.ant 直接启动tomcat,build.xml配置
1.1启动tomcat
注意tomcat.home是你的tomcat的安装路径
<target name="start-tomcat" description="tomcat starting.....">
<exec executable="${tomcat.home}/bin/startup.bat" spawn="true" vmlauncher="false">
< ...
1 Overview
After a week,the dynamic tab is finished successfully,the result is that you can add the tab and close current tab,the following is the page and backbean source code.
2 UI result
3 page code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC ...
JsUnit和Selenium介绍
JsUnit,JavaScript单元测试工具,类似JUnit的javascript脚本单元测试工具。下列表格比较jsUnit和JUnit。
JUnit
JsUnit
单元测试类继承
TestCase
需测试的
HTML
页面包含
jsUnitCore.js
测试方法
测试函数
基于
Test
类
基于
HTML
的测试页
- 2008-12-19 09:26
- 浏览 1949
- 评论(0)
The guidance to configure the myfaces and richfaces
1 Overview
After almost three weeks, the project about myfaces and richfaces compability is success.
I hope this artical will help you save some developing time.
2 this project required all .jar list is in the affix
3 configure the ...
首先感谢
hintcnuie
提供下载的地址,我现在使用jsf1.2,官网有明确的要求
JSF 1.2 requires java 1.5 or later, JSP 2.1, JSTL 1.2 and a Java Servlet 2.5 implementation.
以下是JSTL1.2网络下载
http://repo1.maven.org/maven2-repoclean-java.net/jstl
/jstl
/1
.2
/
附件下载
1 下载Myfaces、Tomahawk的jar包
首先需要的Myfaces的两个jar包
myfaces-api-1.X.X.jar
myfaces-impl-1.X.X.jar
要想使用Tomahawk还必须导入
tomahawk-1.1.X.jar
这三个jar可以到Myfaces的官方网站下载
http://myfaces.apache.org/download.html
导入这三个包之后,只要在web.xml进行简单的配置就可以了
2 web.xml配置
<?xml version="1.0" encoding="UTF-8"?> ...
- 2008-12-13 20:41
- 浏览 2709
- 评论(0)
1.安装JDK
安装好JDK后,再配置JDK的环境变量:
在“我的电脑”上点右键—>“属性”—>“高级”—> “环境变量(N)”。
新建系统变量JAVA_HOME:C:\Program Files\Java\jdk1.5.0_06;
新建系统变量CLASSPATH:.;%JAVA_HOME%\lib;(注意:点号表示当前目录,不能省略)
在系统变量Path的值的前面加入以下内容:%JAVA_HOME%\bin;(注意:这里的分号不能省略)
到这里,JDK安装完毕。
2.安装Tomcat
安装好Tomcat后,再配置Tomcat的环境变量:
在“我的电脑”上点右键—&g ...
- 2008-12-13 13:15
- 浏览 1160
- 评论(0)
1. 介绍
Maven是Java开发者中流行的构建工具,Maven的好处之一是可以帮助减少构建应用程序时所依赖的软件构件的副本,Maven建议的方法是将所有软件构件存储于一个叫做repository的远程仓库中。
Maven会从ibiblio.org中 ...
- 2008-12-13 13:13
- 浏览 1726
- 评论(0)
Groovy轻松入门——搭建Groovy开发环境
多日来,我发表了多篇关于Groovy的文章
,想必大家对Groovy或多或少已经有所了解,今后我会抽空写些Groovy入门性质的文章,供大家参考。
由于时间仓促,水平有限,不足之处请各位朋友多包涵提点,谢谢。
既然是入门,我先不介绍那些IDE的东西,比如Eclipse中的Groovy插件(如果您迫不及待的话,可以先看一下安装Groovy的Eclipse插件
),我先讲一下如何设置Groovy的环境变量(我目前所用的系统是Windows XP),最后运行一个Hello, world程序告终。
Groovy既然是Java帝国的王储 ...
- 2008-12-13 13:07
- 浏览 990
- 评论(0)
注册名:wangxiang
注册码:DLHJB-NBNGJ-RMBIC-KPIMS-JEFIN-QGOOD-PMJMV-OQHRI
- 2008-12-13 13:05
- 浏览 1271
- 评论(0)
Tomahawk下载地址
http://myfaces.apache.org/core11/index.html
Tomahawk自从1.1.7版本以后,可以自动支持facelets
tomahawk1.1.8附件下载
- 2008-12-13 13:03
- 浏览 2500
- 评论(0)
Myfaces下载连接:
http://myfaces.apache.org/download.html
附件中是最新的Myfaces的jar包,其实使用Myfaces很多和Tomahawk一起使用,关于Tomahawk部署可以参考我博客关于Tomahawk部署的文章也有相应的jar下载