SmartUpload 作批量下载,请教?
SmartUpload su = new SmartUpload();
su.getRequest().getParameterValues( "range ")//得不到传过来的值,怎么办??
------解决方案--------------------要初始化SmartUpload,并且要让文件上传完,你下面代码试试看:
SmartUpload su = new SmartUpload();
su.initialize(pageContext);
su.setTotalMaxFileSize(5*1024*1024);
su.upload();
su.getRequest().getParameterValues( "range ");
------解决方案--------------------String [] parrSysUserId = request.getParameterValues( "checkSysUserID ");
for(int i=0;i <parrSysUserID.length;i++)
{
if(parrSysUserID[i]!=null)
{
String pstrSql = "delete from ly_user where ID IN ( "+parrSysUserID[i]+ ") ";
mblnFlag=mobjDatabase.executeUpdate(pstrSql);
}
}
------解决方案--------------------up