- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 can not be found.please check the location and try again
在jsp中使用下面页面: 因为该页面所指向的页面路径不对,便进行手动修改,修改时却出现了很烦的问题,输入一个字就弹出一个提示框“the file XXX can not be found.Please check the location and try again.” 简直让工作无法进行,google了一下,网上说是平台的原因,反正不清楚,解决方案如下: 关
2010-04-23 11:28:00 3793 2
原创 将Date转换为String
//将Date转换为String,精确到分钟 public static String getString(Date d){ Calendar calendar = Calendar.getInstance(); calendar.setTime(d); int month = calendar.get(Calendar.MONTH)+1;
2010-04-20 20:20:00 2594
原创 js实现显示当前年月日
today=new Date();function initArray(){this.length=initArray.arguments.lengthfor(var i=0;ithis[i+1]=initArray.arguments[i]}var d=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六");document.write(
2010-04-20 16:27:00 1263
原创 SQL语句中和字符串的拼接问题
当sql语句和变量进行拼接时,如下:">添加工作记录当多个变量作为参数进行拼接时,如下:&small=&id="> 如果是sql拼接,则用:String sql="select * from yonghu where username="+username+"";"select count(*) from user where uid = "+uid+" "
2010-04-14 17:52:00 4319
原创 textarea 提交乱码问题
%@taglib prefix="s" uri="/struts-tags"%> 登录页面 a String s=new String((request.getParameter("area"); %> 上面页面提交中文时,出现乱码,怎么改都有问题,费好大劲,试来试去的,最后把上面红色部分改成以下
2010-04-08 13:21:00 6549
J2MEAPI 中文版
2010-03-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人