?? auto_gen_users_save.jsp
字號:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="user.user_operation"%>
<html>
<body bgcolor="#DCDADA">
<!--------接收輸入參數---------->
<%//-------接收all_count參數------------
int all_count=0;
try{
all_count=Integer.parseInt(request.getParameter("all_count"));
}catch(Exception e)
{}
//-----接收要生成的學生ID號-------
String genStudentId[]=new String[all_count];
String tempString=new String("");
for(int i=0;i<all_count;i++){
tempString=request.getParameter("check_user"+i);
if(tempString==null||tempString.length()==0||tempString.equalsIgnoreCase("null"))
genStudentId[i]=null;
else
genStudentId[i]=tempString;
}
user_operation userOp=new user_operation();
String viewString=userOp.genStudentUser(genStudentId);
out.println(viewString);
%>
<br><a href="auto_gen_users.jsp">返回</a>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -