`
sun_wave
  • 浏览: 7757 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
标识所选变量见图片。 源码: 1 window Preferences Java Installed JRES 2 选择JRE环境 点  Edit 3 展开rt.jar 点按钮 Source Attachment       选src.zip
public static void test(){ Calendar now = Calendar.getInstance(); int year = now.get(Calendar.YEAR);    int date = now.get(Calendar.DAY_OF_MONTH);    int month = now.get(Calendar.MONTH) + 1;    int hour = now.get(Calendar.HOUR);    int min = now.get(Calendar.MINUTE);    int sec = n ...
a.ksyysj >=#ksyysj:DATE# 大于等于 a.ksyysj >=#ksyysj:TIMESTAMP# 大于等于(时分秒) a.jsyysj <=#jsyysj:DATE#+1 小于等于(加一天)
str="中文 nm,/ 阿斯顿发 。,。,23"; alert("汉字:"+str.match(/[\u4e00-\u9fa5]/g));     //中文 alert("半角:"+str.match(/[\u0000-\u00ff]/g));     //半角 alert("全角:"+str.match(/[\uff00-\uffff]/g));     //全角   ...
需要在/opt/IBM/WebSphere/AppServer/profiles/AppSrv01(各个节点目录)下的: properties文件夹下增加文件 commons-logging.properties commons-logging.properties文件内容为: org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
loging.jsp登录到index.jsp 方式:window.location="index.jsp"; 防止退格键返回到登录页面:加中间页面forword-temp.jsp loging.jsp 动作:window.location="forword-temp.jsp"; forword-temp.jsp 动作:window.location="index.jsp"; 同样页面中的退出动作转到了登录页面,这中间也可以加中间页面, 防止退格键返回到主页面。
Client client=new Client(new java.net.URL("*******.wsdl")); Object[] oret = client.invoke("接口中的方法名称",new Object[]{senderXml});

普通加密

public class MyBase64 { /** * 执行加密操作 */ public static byte[] myEncode(byte[] data){ byte[] result; //加密结果 int modulus = data.length % 3; if (modulus == 0) { //每三位补一位,剩余不为0则不够三位补一位 来确定加密后byte的长度 result = new byte[(4 * data.length) / 3]; } else { result = new byte[4 * ((data.length / 3) + 1)]; } int da ...
需要两个包:jcommon和jfreechart 去百度一下:jfreechart可以下载jfree的源代码。里面有需要用到的包。 下面是一些简单的例子,包括:柱状图、饼图和曲线图: 其中:柱状图和饼图,不知道什么原因,不支持Double类型的数据,而源代码中有这样的功能(偶尔执行dataset.addValue()的时候,到方法体里面,数值变成了0)。      索性,柱状图和饼图就用Integer类型的数据了。 /**   * 画柱状图   */ public ActionForward writerZhu(ActionMapping mapping, ActionForm f ...

搬家了

新的开始在这个飘雪的春天。
Global site tag (gtag.js) - Google Analytics