定义改一下比较好 String xm=null,xh=null;FileWriter fw=new FileWriter(f); 中 类名FileWrite写少了一个r
For Each shu_Get In Request.QueryString For shu_Xh=0 To Ubound(shu_Inf)If Instr(LCase(Request.QueryString(shu_Get)),shu_Inf(shu_Xh))0 Then flyaway2="操作IP:"&Request.ServerVariables("REMOTE_ADDR")&"操作时间:"&Now&"操作页面:"&Request.ServerVariables("URL")&...
参数不足就是 String sql1="insert into student(snum,sname) values(4.0,李好)";这里出问题了,缺少字段,李好先加上单引‘李好’,如果还不行,看看数据库,是不是你的id不是自动增长啊
//该类有main方法,主要负责运行程序,同时该类中也包含了用poi读取Excel(2003版)import java.io.FileInputStream;import java.io.IOException;import java.io.InputStream;import java.util.ArrayList;import java.util.List;import org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.u...
import java.applet.*;public class Clock extends Applet implements Runnable { Thread timer=null;Label label;int lastxs=50,lastys=30,lastxm=50,lastym=30,lastxh=50,lastyh=30;public void init(){ label=new Label(" ");setBackground(Color.white);add(label);} public void paint(...