操作的过程中一定要注意的几个方面:
       1.将smartUpload.jar拷贝到tomcat/lib以及项目的lib下面,最好是只多不少!
       2.因为上传的文件一般都很大,所以应该用methed="post"方式提交,而且还应对表单进行封装 enctype="multipart/form-data";
       3.因为对表单进行了封装,所以无法用request.getParameter("xxx")取得页面参数,在此必须用JspSmartUpload提供的smart.getRequest().getParameter("xxx")取得。

相关文章:

  • 2021-10-21
  • 2022-01-09
  • 2021-09-20
  • 2021-11-12
  • 2021-11-30
  • 2021-08-11
  • 2021-04-02
  • 2021-10-13
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2021-12-23
  • 2021-11-22
  • 2022-01-10
  • 2021-10-10
  • 2022-02-07
相关资源
相似解决方案