在表单里<form name="form1" action="addInformationBank_do.jsp" enctype="multipart/form-data" method="post">包含<input type="file" name="file" >和<select name="possible" size="20" MULTIPLE style="width: 200px">,在addInformationBank_do.jsp里如何才能得到select的值???快!!!
jspSmartUpload是你的文件上传包的名称
直接String lsValue = request.getParameter("possible")就可以了
com.jspsmart.upload.Request myReq = mySmartUpload.getRequest();
myReq .getRequest().getParameter("possible")即可?如果是,我已经用过了,但还是不行的!!!!
<jsp:useBean id="mySmartUpload" cope="page"class="com.jspsmart.upload.SmartUpload" />//注意以下的两行,位置要放在前面
mySmartUpload.initialize(pageContext);
mySmartUpload.upload();//然后再取值就可以了
com.jspsmart.upload.Request myReq = mySmartUpload.getRequest();
myReq .getRequest().getParameter("possible")