×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT杂谈 / Urgent Question : When I am making a program with JSP uploading files ...
    Urgent Question : When I am making a program with JSP uploading files onto the server , I used the "multipart-form/data" in the html file , however , I post the uploaded file and some other input field , aslo to a jsp , after parsing the request , all of the information transfered is NULL .
    Any body once , had the same situation ?? and way out ??!!
    • If you are using Resin, the thing is simple. If you are using com.oreilly.servlet.MultipartRequest package, it seems that it not working for some servers, can't explain why.
      • I am using Tomcat and SmartjspUpload 's bean . Are there any relationship between the JSP engine and my problem ?? What 's ur opinion ?
        • I struggle this problem for a few days. My personally experience is that some sample code just don't work for some situation and is very hard to figure it out. It may need deep understanding of uploading scheme on different servlet/jsp engine.
          You may look up this topic in sun's Developer's Connection site to see if there are some answers. http://forum.java.sun.com/