<!-- speculation but comment out the validators in *validator*.xml and then -->
<!-- once the error is reproduced then put in debug statements -->
<validators>
<validator name="required"
class="com.opensymphony.xwork2.validator.validators.RequiredFieldValidator"/>
<!-- validator name="requiredstring"
class="com.opensymphony.xwork2.validator.validators.RequiredStringValidator"/
-->
</validators>
//if problem detected then log debug code for all methods of
RequiredFieldValidator
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: RE: Struts File Upload Issue
> Date: Thu, 26 May 2011 13:14:18 +0530
> From: [email protected]
> To: [email protected]
>
> Hi Pawel,
>
> Thanks for your concern. I am getting success out of this user validation.
> And if user validation fails, then it should always happen for a particular
> user. But it happens occasionally.
>
> Regards,
> Vijay S
>
> -----Original Message-----
> From: Paweł Wielgus [mailto:[email protected]]
> Sent: Thursday, May 26, 2011 12:32 PM
> To: Struts Users Mailing List
> Subject: Re: Struts File Upload Issue
>
> Hi,
> maybe validation is not permitting action to be called in this situations?
>
> Best gretings,
> Paweł Wielgus.
>
>
> 2011/5/26 <[email protected]>:
> > 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>