www.pudn.com > students.rar > Select_CrouseServlet.java


package students; 
 
import java.io.IOException; 
import javax.servlet.ServletException; 
import javax.servlet.http.HttpServletRequest; 
import javax.servlet.http.HttpServletResponse; 
 
/** 
 * Servlet implementation class for Servlet: SelectServlet 
 * 
 */ 
 public class Select_CrouseServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet { 
   static final long serialVersionUID = 1L; 
    
    /* (non-Java-doc) 
	 * @see javax.servlet.http.HttpServlet#HttpServlet() 
	 */ 
	public Select_CrouseServlet() { 
		super(); 
	}   	 
	 
	/* (non-Java-doc) 
	 * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 
	 */ 
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 
		// TODO Auto-generated method stub 
	}  	 
	 
	/* (non-Java-doc) 
	 * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 
	 */ 
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 
		String str1=null; 
		String str2=null; 
		String str3=null; 
		String str4=null; 
		String str5=null; 
		String stu=request.getParameter("ID"); 
		String[] sel=request.getParameterValues("select"); 
		for(int i=0;i=ss3[0]){ 
			str1=null; 
		 
		} 
		if(ss=ss3[1]){ 
			str2=null; 
			 
		} 
		if(ss=ss3[2]){ 
			str3=null; 
			 
		} 
		if(ss=ss3[3]){ 
			str4=null; 
			 
		} 
		if(ss=ss3[4]){ 
			str5=null; 
			 
		} 
		Select.select(stu,str1,str2,str3,str4,str5); 
		 
	}  
	 
}