You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Greg Huber <gr...@gmail.com> on 2024/02/12 15:36:36 UTC
file uploading
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.
Re: file uploading
Posted by Greg Huber <gr...@gmail.com>.
Yes, only in the java templates plugin. Will do a PR.
On Tue, 13 Feb 2024 at 15:18, Łukasz Lenart <lu...@gmail.com> wrote:
> I noticed your ticket in JIRA, so this problem is only related to the
> Java templates plugin?
>
> pon., 12 lut 2024 o 16:56 Greg Huber <gr...@gmail.com> napisał(a):
> >
> > This is happening on the current version.
> >
> > I was just looking at what I need to do for the
> ActionFileUploadInterceptor.
> >
> > On Mon, 12 Feb 2024 at 15:52, Lukasz Lenart <lu...@apache.org>
> wrote:
> >
> > > pon., 12 lut 2024 o 16:48 Greg Huber <gr...@gmail.com> napisał(a):
> > > >
> > > > Current version 6.3.0.2.
> > >
> > > This version doesn't contain a new file upload interceptor, it's a
> > > part of 6.4.0 & 7.0.0
> > > https://issues.apache.org/jira/browse/WW-5371
> > >
> > >
> > > Regards
> > > Lukasz
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: dev-help@struts.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
Re: file uploading
Posted by Łukasz Lenart <lu...@gmail.com>.
I noticed your ticket in JIRA, so this problem is only related to the
Java templates plugin?
pon., 12 lut 2024 o 16:56 Greg Huber <gr...@gmail.com> napisał(a):
>
> This is happening on the current version.
>
> I was just looking at what I need to do for the ActionFileUploadInterceptor.
>
> On Mon, 12 Feb 2024 at 15:52, Lukasz Lenart <lu...@apache.org> wrote:
>
> > pon., 12 lut 2024 o 16:48 Greg Huber <gr...@gmail.com> napisał(a):
> > >
> > > Current version 6.3.0.2.
> >
> > This version doesn't contain a new file upload interceptor, it's a
> > part of 6.4.0 & 7.0.0
> > https://issues.apache.org/jira/browse/WW-5371
> >
> >
> > Regards
> > Lukasz
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: file uploading
Posted by Greg Huber <gr...@gmail.com>.
This is happening on the current version.
I was just looking at what I need to do for the ActionFileUploadInterceptor.
On Mon, 12 Feb 2024 at 15:52, Lukasz Lenart <lu...@apache.org> wrote:
> pon., 12 lut 2024 o 16:48 Greg Huber <gr...@gmail.com> napisał(a):
> >
> > Current version 6.3.0.2.
>
> This version doesn't contain a new file upload interceptor, it's a
> part of 6.4.0 & 7.0.0
> https://issues.apache.org/jira/browse/WW-5371
>
>
> Regards
> Lukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
Re: file uploading
Posted by Lukasz Lenart <lu...@apache.org>.
pon., 12 lut 2024 o 16:48 Greg Huber <gr...@gmail.com> napisał(a):
>
> Current version 6.3.0.2.
This version doesn't contain a new file upload interceptor, it's a
part of 6.4.0 & 7.0.0
https://issues.apache.org/jira/browse/WW-5371
Regards
Lukasz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: file uploading
Posted by Greg Huber <gr...@gmail.com>.
Current version 6.3.0.2.
On Mon, 12 Feb 2024 at 15:45, Lukasz Lenart <lu...@apache.org> wrote:
> pon., 12 lut 2024 o 16:36 Greg Huber <gr...@gmail.com> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
Re: file uploading
Posted by Lukasz Lenart <lu...@apache.org>.
pon., 12 lut 2024 o 16:36 Greg Huber <gr...@gmail.com> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org