借宝地一用! 请教一下jspsmartupload的问题,我准备上传一个文件,在上传的表单设置一个文本框text要求输入标题,上传教给upload.jsp处理,代码片如下: mySmartUpload.init(config); mySmartUpload.service(request,response); mySmartUpload.setTotalMaxFileSize(50*1024*1024); mySmartUpload.upload(); String[] title = mySmartUpload.getRequest().getParameterValues("report_title"); out.println(title[0]); …… 其中report_title是表单的用于输入标题的文本框。 报错:The server encountered an internal error () that prevented it from fulfilling this request 就是String[] title = mySmartUpload.getRequest().getParameterValues("report_title");出现问题,请问该如何解决? 谢谢!![email protected]
请教一下jspsmartupload的问题,我准备上传一个文件,在上传的表单设置一个文本框text要求输入标题,上传教给upload.jsp处理,代码片如下:
mySmartUpload.init(config);
mySmartUpload.service(request,response);
mySmartUpload.setTotalMaxFileSize(50*1024*1024);
mySmartUpload.upload();
String[] title = mySmartUpload.getRequest().getParameterValues("report_title");
out.println(title[0]);
……
其中report_title是表单的用于输入标题的文本框。
报错:The server encountered an internal error () that prevented it from fulfilling this request
就是String[] title = mySmartUpload.getRequest().getParameterValues("report_title");出现问题,请问该如何解决?
谢谢!![email protected]
另象struts,expresso,這樣的framework都已經具有了上傳功能.
使用它們做,這些代碼就可以免了哦.
万分感激!!