smartupload有取Parameter的方法:
SmartUpload mySmartUpload = new SmartUpload();
String height = mySmartUpload.getRequest().getParameter("height");
SmartUpload mySmartUpload = new SmartUpload();
String height = mySmartUpload.getRequest().getParameter("height");
需要用smartupload里面的getRequest().getParameter();来取参数,我的一开始也是跟你一样的问题,按楼上说得那么做以后就可以了
String height = mySmartUpload.getRequest().getParameter("height");
返回值还是null,why?
试一下基于struts的uploadbean很好用,而且扩展了SQL:
http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html