Hm... good question - I think it's doable, please register an issue

2014-07-29 15:13 GMT+02:00 Paweł Wielgus <[email protected]>:
> Hi all,
> i just made s:form with s:file inside,
> i did add enctype="multipart/form-data" because i was adding it always,
> but in log i saw:
>
> WARNING: Struts has detected a file upload UI tag (s:file) being used
> without a form set to method 'POST'. This is probably an error!
>
> The funny thing is that form is working as it should.
> Did Struts add method="post" automaticaly?
> Or maybe it was my browser that did the magic?
>
> My last question is, if struts knows that there is s:form with s:file inside
> why it would not set enctype and method to make it all work as expected?
> What problems could cause such solution?
>
> Best greetings,
> Paweł Wielgus.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to