struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro García Gil <alejandro.garcia....@gmail.com>
Subject Re: Struts File Upload Issue
Date Fri, 27 May 2011 06:20:56 GMT
Have you exceeded the maximum size of the file?


2011/5/26 Paweł Wielgus <poulwiel@gmail.com>

> Hi,
> maybe validation is not permitting action to be called in this situations?
>
> Best gretings,
> Paweł Wielgus.
>
>
> 2011/5/26  <VijayaRajan.S@cognizant.com>:
> > Hi,
> >
> >
> >
> > I have a query regarding file upload functionality in Struts. I am
> > having a screen from where I can upload multiple files. When files are
> > browsed and submit button is clicked, it will first hit a filter,
> > validate the user and calls the action method where uploading the files
> > to the repository is done. It happens fine normally. But rarely when
> > submit is clicked in UI, it goes to the filter, validates the user and
> > doesn't call the action method. It fails somewhere between the filter
> > and the action class. It doesn't throw any exceptions from the framework
> > too.
> >
> >
> >
> > First we thought, it happens when big files are uploaded. Then we found
> > even for small files, this happens occasionally. Below is the JRE
> > details being used.
> >
> > Java version = J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20080811
> > (JIT enabled)
> >
> >
> >
> > I couldn't figure out why this is happening. Any suggestion regarding
> > this is most welcome.
> >
> >
> >
> > Thanks in advance,
> >
> > Vijay S
> >
> >
> > This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> > If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> > Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly prohibited and may be unlawful.
> >
>
>
>
> --
> Pozdrawiam,
> Paweł Wielgus.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message