Re: file uploading

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkNjvVRnTQuACVU8+TLH92tAWMcnifgngR5U0DuHQRBf0w@mail.gmail.com>
pon., 12 lut 2024 o 16:36 Greg Huber <[email protected]> napisał(a):
>
> Was looking at switching to the new FileUploadInterceptor.
>
> But testing the current version, I noticed that after the upload it gives
> details of the webapp location in the value attribute.
>
> <s:file name="uploadedFiles" multiple="multiple" />
>
> ......value="/dev/apache-tomcat/apache-tomcat-9.0.85/work/Catalina/localhost/ROOT##/upload_52c5bcff_6363_4414_b23e_fe49bb3f3af7_00000462.tmp"
> .....
>
> To clear this I have to set value=""
>
> ie <s:file name="uploadedFiles" multiple="multiple" value="" />
>
> Is this intentional?  I like to try and hide such info.

Rather a mistake, which version have you been using?


Regards
Łukasz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.