Uploading files or pictures

Question: at present, the station has received the uploaded data. After entering the controller layer, it is empty!!!

Solution: The name value of the tag uploaded, the value in requestParam (), the value in the corresponding parameter, the three names can not be the same. Submission mode post

For beginners, which way of submission is: do not use get as long as you remember data changes.

  

Leave a Reply

Your email address will not be published. Required fields are marked *