摘要:
以下是dos命令: java -Dfile.encoding=utf-8 -jar ***.jar 阅读全文
摘要:
如何使“search_list.asp”在新窗口中打开啊?代码如下: <form name="searchform" method="post" action="search_list.asp"> <tr> <td><input type="text" name="title" size="14" 阅读全文
摘要:
HttpSession session = request.getSession(); String mobile=request.getParameter("mobile"); DBSMSend DBSMSend=new DBSMSend(); String mobilecode= DBSMSen 阅读全文
摘要:
private static String getMACAddress() throws Exception { InetAddress ia = InetAddress.getLocalHost(); // 获得网络接口对象(即网卡),并得到mac地址,mac地址存在于一个byte数组中。 byt 阅读全文
摘要:
就是关于如何清除当前页面的session 退出到首页,使用户再次登陆必须提供正确的用户名和密码我的三个页面是 index.jsp logon.jsp logout.jspindex.jsp中输入正确的用户名和密码会跳转到logon.jsp中在logon.jsp中我加了以下内容防止在浏览器中输入log 阅读全文
摘要:
java.sql.SQLException: ORA-06550: 第 1 行, 第 62 列: PLS-00103: 出现符号 "月"在需要下列之一时: ) , * & | = - + < / > at in is mod remainder not rem => .. <an exponent 阅读全文
摘要:
今天碰到一个问题,就是java调用存储过程,但是存储过程有几个参数是有默认值的,而正好我这块是不需要给那些默认值赋值。 我先把测试的存储过程贴出来,用的是sql server 2005: Sql代码 Create PROCEDURE [dbo].[proc_defult_value] @aaa va 阅读全文
摘要:
public static String GetFileSize(String Path){ return GetFileSize(new File(Path)); } public static String GetFileSize(File file){ String size = ""; if 阅读全文
摘要:
import java.text.SimpleDateFormat; import java.util.Date; public class aaaa { public static void main(String[] args) throws Exception { // 用途一 计算某任务 耗 阅读全文
摘要:
public void schedule(TimerTask task, long delay) 说明:该方法会在设定的延时后执行一次任务。public void schedule(TimerTask task, Date time) 说明:该方法会在指定的时间点执行一次任务。public void 阅读全文