Does form with enctype=“multipart/form-data” cause problems accessing a hidden field

后端 未结 7 2236
失恋的感觉
失恋的感觉 2020-12-18 05:39

I have created a hidden form element

7条回答
  •  执笔经年
    2020-12-18 05:50

    As a workaround, you can also add the required hidden parameters as GET parameters in the form's action attribute:

    
    
        //rest of the form here
    
    
    

    this will allow the request.getParameter("imgUploadObjId") call to work.

提交回复
热议问题