Re: Struts File Upload Issue

2011-05-27 Thread Alejandro García Gil
Have you exceeded the maximum size of the file?


2011/5/26 Paweł Wielgus poulw...@gmail.com

 Hi,
 maybe validation is not permitting action to be called in this situations?

 Best gretings,
 Paweł Wielgus.


 2011/5/26  vijayaraja...@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-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




RE: Struts File Upload Issue

2011-05-27 Thread VijayaRajan.S
Hi Alejandro,

It sometimes happens even for very small files.

Regards,
Vijayarajan S

-Original Message-
From: Alejandro García Gil [mailto:alejandro.garcia@gmail.com] 
Sent: Friday, May 27, 2011 11:51 AM
To: Struts Users Mailing List
Subject: Re: Struts File Upload Issue

Have you exceeded the maximum size of the file?


2011/5/26 Paweł Wielgus poulw...@gmail.com

 Hi,
 maybe validation is not permitting action to be called in this situations?

 Best gretings,
 Paweł Wielgus.


 2011/5/26  vijayaraja...@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-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts File Upload Issue

2011-05-27 Thread Jason Pyeron
 -Original Message-
 From: vijayaraja...@cognizant.com 
 [mailto:vijayaraja...@cognizant.com] 
 Sent: Friday, May 27, 2011 6:58
 To: user@struts.apache.org
 Subject: RE: Struts File Upload Issue
 
 Hi Alejandro,
 
 It sometimes happens even for very small files.

Is there a proxy between you and the server?

Can you produce the problem by accessing it on 127.0.0.1?


 
 Regards,
 Vijayarajan S
 
 -Original Message-
 From: Alejandro García Gil [mailto:alejandro.garcia@gmail.com]
 Sent: Friday, May 27, 2011 11:51 AM
 To: Struts Users Mailing List
 Subject: Re: Struts File Upload Issue
 
 Have you exceeded the maximum size of the file?
 
 
 2011/5/26 Paweł Wielgus poulw...@gmail.com
 
  Hi,
  maybe validation is not permitting action to be called in 
 this situations?
 
  Best gretings,
  Paweł Wielgus.
 
 
  2011/5/26  vijayaraja...@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-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 
 
 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: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts File Upload Issue

2011-05-27 Thread Martin Gainty

did you determine which class validation is producing the error?

i assume cognizant is paying you tm 

Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung
 
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.






 From: jpye...@pdinc.us
 To: user@struts.apache.org
 Subject: RE: Struts File Upload Issue
 Date: Fri, 27 May 2011 07:06:23 -0400
 
  -Original Message-
  From: vijayaraja...@cognizant.com 
  [mailto:vijayaraja...@cognizant.com] 
  Sent: Friday, May 27, 2011 6:58
  To: user@struts.apache.org
  Subject: RE: Struts File Upload Issue
  
  Hi Alejandro,
  
  It sometimes happens even for very small files.
 
 Is there a proxy between you and the server?
 
 Can you produce the problem by accessing it on 127.0.0.1?
 
 
  
  Regards,
  Vijayarajan S
  
  -Original Message-
  From: Alejandro García Gil [mailto:alejandro.garcia@gmail.com]
  Sent: Friday, May 27, 2011 11:51 AM
  To: Struts Users Mailing List
  Subject: Re: Struts File Upload Issue
  
  Have you exceeded the maximum size of the file?
  
  
  2011/5/26 Paweł Wielgus poulw...@gmail.com
  
   Hi,
   maybe validation is not permitting action to be called in 
  this situations?
  
   Best gretings,
   Paweł Wielgus.
  
  
   2011/5/26  vijayaraja...@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-unsubscr...@struts.apache.org
   For additional commands, e-mail: user-h...@struts.apache.org
  
  
  
  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: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
  
  
 
 --
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 -   -
 - Jason Pyeron  PD Inc. http://www.pdinc.us -
 - Principal Consultant  10 West 24th Street #100-
 - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
 -   -
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 This message is copyright PD Inc, subject to license 20080407P00.
 
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user

Re: Struts File Upload Issue

2011-05-26 Thread Paweł Wielgus
Hi,
maybe validation is not permitting action to be called in this situations?

Best gretings,
Paweł Wielgus.


2011/5/26  vijayaraja...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts File Upload Issue

2011-05-26 Thread VijayaRajan.S
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:poulw...@gmail.com] 
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  vijayaraja...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts File Upload Issue

2011-05-26 Thread Aaron Brown
Are you certain the action class is not being called at all? Are you logging
when the action method executes to be sure?

Is your user a Mac user? I have seen occasional problems with Mac files
(especially fonts) having a null data fork that break the upload process.
 On May 26, 2011 1:01 AM, vijayaraja...@cognizant.com wrote:
 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.


RE: Struts File Upload Issue

2011-05-26 Thread VijayaRajan.S
Hi Aaron,

The user is windows user. Also I am sure the filter class is been called
and the validation is successful. I have logs in my form setter methods
and in the very first line of my action method. But it comes nowhere.
Even the logs in Form Setter methods weren't logged.

Regards,
Vijay S

-Original Message-
From: Aaron Brown [mailto:aa...@thebrownproject.com] 
Sent: Thursday, May 26, 2011 3:23 PM
To: Struts Users Mailing List
Subject: Re: Struts File Upload Issue

Are you certain the action class is not being called at all? Are you
logging
when the action method executes to be sure?

Is your user a Mac user? I have seen occasional problems with Mac files
(especially fonts) having a null data fork that break the upload
process.
 On May 26, 2011 1:01 AM, vijayaraja...@cognizant.com wrote:
 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.

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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Struts File Upload Issue

2011-05-26 Thread Martin Gainty

!-- 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: vijayaraja...@cognizant.com
 To: user@struts.apache.org
 
 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:poulw...@gmail.com] 
 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  vijayaraja...@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-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 
 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: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
  

Re: Struts file upload issue

2008-11-30 Thread Shazad
Hi Dave,

Did you get a chance to look at the file dropping on the validaton issue.

Please reply.

Thanks

On Sat, Nov 29, 2008 at 8:19 PM, Dave Newton [EMAIL PROTECTED] wrote:

 Yeah, I think you'd have to tweak something to create that change.

 If I have time tomorrow I'll take a quick look as well.

 Dave

 --- On Sat, 11/29/08, Khawaja-Shahzad Butt [EMAIL PROTECTED] wrote:
  But i don't see any option in the file interceptor  to
  store the file
  temporarily. This issue behaves the same way in IE and
  FF(Firefox).
 
  It would be great to have the file attached while
  there's a validation error
  so that the user doesn't have to reattach it. I am sure
  some of the gurus
  out there might have a work around it.
 
  Please reply.
 
  Thanks again.
 
  Shazad
 
  On Sat, Nov 29, 2008 at 7:27 PM, Dave Newton  wrote:
 
   AFAIK it's a browser issue; it won't keep the
  file name in the file select
   box. I haven't looked, but it might be possible to
  save the file anyway,
   though, via interceptor ordering or an interceptor
  modification--not sure.
  
   Dave
  
  
   --- On Sat, 11/29/08, Khawaja-Shahzad Butt
  [EMAIL PROTECTED] wrote:
  
From: Khawaja-Shahzad Butt
  [EMAIL PROTECTED]
Subject: Struts file upload issue
To: user@struts.apache.org
Date: Saturday, November 29, 2008, 8:15 PM
Hi,
   
I am having an issue with struts file upload
  during
validation. On the page
when there's
a  validation error, the browsed/attached file
  drops. Does
anyone
know a work around it, to have the previously
  attached file
in tact, meaning
if i have attached a file and hit submit and got
  the
validation error, the
file should still be
there, so that i don't have reattach it
  again.
   
Storing the file in session is out of league as
  it's
not a good approach.
   
Please reply.
   
Thanks
  
  
  -
   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]




Re: Struts file upload issue

2008-11-30 Thread Dave Newton
--- On Sun, 11/30/08, Shazad wrote:
 Did you get a chance to look at the file dropping on the validaton issue.

Nope.

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts file upload issue

2008-11-29 Thread Dave Newton
AFAIK it's a browser issue; it won't keep the file name in the file select box. 
I haven't looked, but it might be possible to save the file anyway, though, via 
interceptor ordering or an interceptor modification--not sure.

Dave


--- On Sat, 11/29/08, Khawaja-Shahzad Butt [EMAIL PROTECTED] wrote:

 From: Khawaja-Shahzad Butt [EMAIL PROTECTED]
 Subject: Struts file upload issue
 To: user@struts.apache.org
 Date: Saturday, November 29, 2008, 8:15 PM
 Hi,
 
 I am having an issue with struts file upload during
 validation. On the page
 when there's
 a  validation error, the browsed/attached file drops. Does
 anyone
 know a work around it, to have the previously attached file
 in tact, meaning
 if i have attached a file and hit submit and got the
 validation error, the
 file should still be
 there, so that i don't have reattach it again.
 
 Storing the file in session is out of league as it's
 not a good approach.
 
 Please reply.
 
 Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts file upload issue

2008-11-29 Thread Khawaja-Shahzad Butt
Thanks for the reply.

But i don't see any option in the file interceptor  to store the file
temporarily. This issue behaves the same way in IE and FF(Firefox).

It would be great to have the file attached while there's a validation error
so that the user doesn't have to reattach it. I am sure some of the gurus
out there might have a work around it.

Please reply.

Thanks again.

Shazad

On Sat, Nov 29, 2008 at 7:27 PM, Dave Newton  wrote:

 AFAIK it's a browser issue; it won't keep the file name in the file select
 box. I haven't looked, but it might be possible to save the file anyway,
 though, via interceptor ordering or an interceptor modification--not sure.

 Dave


 --- On Sat, 11/29/08, Khawaja-Shahzad Butt [EMAIL PROTECTED] wrote:

  From: Khawaja-Shahzad Butt [EMAIL PROTECTED]
  Subject: Struts file upload issue
  To: user@struts.apache.org
  Date: Saturday, November 29, 2008, 8:15 PM
  Hi,
 
  I am having an issue with struts file upload during
  validation. On the page
  when there's
  a  validation error, the browsed/attached file drops. Does
  anyone
  know a work around it, to have the previously attached file
  in tact, meaning
  if i have attached a file and hit submit and got the
  validation error, the
  file should still be
  there, so that i don't have reattach it again.
 
  Storing the file in session is out of league as it's
  not a good approach.
 
  Please reply.
 
  Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Struts file upload issue

2008-11-29 Thread Dave Newton
Yeah, I think you'd have to tweak something to create that change.

If I have time tomorrow I'll take a quick look as well.

Dave

--- On Sat, 11/29/08, Khawaja-Shahzad Butt [EMAIL PROTECTED] wrote:
 But i don't see any option in the file interceptor  to
 store the file
 temporarily. This issue behaves the same way in IE and
 FF(Firefox).
 
 It would be great to have the file attached while
 there's a validation error
 so that the user doesn't have to reattach it. I am sure
 some of the gurus
 out there might have a work around it.
 
 Please reply.
 
 Thanks again.
 
 Shazad
 
 On Sat, Nov 29, 2008 at 7:27 PM, Dave Newton  wrote:
 
  AFAIK it's a browser issue; it won't keep the
 file name in the file select
  box. I haven't looked, but it might be possible to
 save the file anyway,
  though, via interceptor ordering or an interceptor
 modification--not sure.
 
  Dave
 
 
  --- On Sat, 11/29/08, Khawaja-Shahzad Butt
 [EMAIL PROTECTED] wrote:
 
   From: Khawaja-Shahzad Butt
 [EMAIL PROTECTED]
   Subject: Struts file upload issue
   To: user@struts.apache.org
   Date: Saturday, November 29, 2008, 8:15 PM
   Hi,
  
   I am having an issue with struts file upload
 during
   validation. On the page
   when there's
   a  validation error, the browsed/attached file
 drops. Does
   anyone
   know a work around it, to have the previously
 attached file
   in tact, meaning
   if i have attached a file and hit submit and got
 the
   validation error, the
   file should still be
   there, so that i don't have reattach it
 again.
  
   Storing the file in session is out of league as
 it's
   not a good approach.
  
   Please reply.
  
   Thanks
 
 
 -
  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]