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

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

I have created a hidden form element

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-18 06:02

    Not sure if this helps, but I have used multipart forms in jsp pages which are submitted to a struts servlet and these pages have hidden fields which are received in my Struts Action classes (wrapped in Struts ActionForm), so I don't think there is any hard stop here.

    Have you tried receiving this value as String and seeing what actually comes there?

提交回复
热议问题