摘要:
作为最流行的web framework,struts的入门可能算是比较麻烦了,本人花费了一整天的时间才算将他初步运行成功,现将成果整理如下:例子的需求:1、允许用户输入一个名字,提交后返回“hello xxx!”,输出形式为hello <name>字符串2、当用户没有输入名字时,返回一个错误提示3、当用户输入的名字带“,”符号时,提示错......
摘要:
1、介绍l eclipse form是eclipse 3.0的新特性l eclipse form是一组定制小部件和支持类组成的插件,以前由pde和update组件内部使用,在eclipse 3.0中已经成为公用apil eclipse form提供:n 适合包含到内容区域(编辑器或视图)中的“form”概念n 用来管理颜色、超链接组和其它象swt控件一样的form外观的工......
使用java.util.Calendar返回间隔天数
使用simpledateformat,规定好格式,parser出错即为非法/** * calculates the number of days between two calendar days in a manner * which is independent of the calendar type used. * * @param d1 the first date. * @param d2 the second date. * * @return the number of days between the two dates. zero is * returned if the dates are the same, one if the dates are * adjacent, etc. the order of the dates * does not matter, the value returned is always &...
下一页 摘要:
参考文档:jsr-184工具:eclipse3.0+eclipsemeapi:mobile 3d graphics api模拟器:sony ericsson分析:在现实生活中,我们所看到的是一个3维系统。透过双眼,可以看到的是一个丰富多彩的世界。我们所用的照相机,能够拍出很多漂亮的图片。拍摄每张图片时,可以根据拍摄距离的远近可以调整所拍摄画面上的内容。 在虚拟的世界里,可以模拟真实世界。欲将虚拟......