日期:2014-05-16  浏览次数:20383 次

动态加载下拉列表+Javascript判断传参《二》

三、创建Jsp页面:

<%@ page language="java" pageEncoding="gbk"%>

<%@ page import="java.util.*"%>

<%@ page import="com.core.*"%>

<%@ page import="java.sql.*" %>

<%?

??? //获取参数

String times = (request.getParameter("para") == null )? "" : request.getParameter("para") ;

??? List<Integer> timesColl = new ArrayList<Integer>();

??? try{

??????? ConnDB conn = new ConnDB() ;