3、下列代码的功能是产生4位随机数并保存,在“____”处应该填入( )。Randomrnd=newRandom();intrandNum=rnd.nextInt(8999)+1000;StringrandStr=String.valueOf(randNum);____________
A. page.setAttribute("randStr",randStr);
B. request.setAttribute("randStr",randStr);
C. session.setAttribute("randStr",randStr);
D. application.setAttribute("randStr",randStr);
4、以下API不属于com.jspsmart.upload.SmartUpload的是( )。
A. SmartUpload.initialize();
B. SmartUpload.upload();
C. SmartUpload.getFiles();
D. SmartUpload.saveAs();