想通过jspsmartupload上传附件。
但是我想POST一些另外的参数,比如说:类型、描述,详细介绍。在传递界面,这些值都是空的。
我是使用String type=request.getParameter("type");显然是不可行的。谁能告诉我其它的解决方法?
谢谢拉
但是我想POST一些另外的参数,比如说:类型、描述,详细介绍。在传递界面,这些值都是空的。
我是使用String type=request.getParameter("type");显然是不可行的。谁能告诉我其它的解决方法?
谢谢拉
怎么弄????
mySmartUpload.initialize(config, request, response);
mySmartUpload.upload();
String type = smartRequest.getParameter("type");
myUpload.initialize(pageContext);
myUpload.upload();
myUpload.getRequest().getParameter("sOperation")类似这样才能取到值,跟jsp中的有所不同,是jspsmartupload独有的