Re: [2.3.8] Parameters interceptor tampering with file upload ?

2013-01-17 Thread Lukasz Lenart
Not a problem :-) Thanks to sharing your problem and solution :-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/1/17 Philippe Lagardere : > Hi again, > > I eventually solved the 'problem'. It turns out it had nothing to do > with Struts, and everything to do with misplaced c

Re: [2.3.8] Parameters interceptor tampering with file upload ?

2013-01-17 Thread Philippe Lagardere
Hi again, I eventually solved the 'problem'. It turns out it had nothing to do with Struts, and everything to do with misplaced code. After searching for interference from Tiles, I realized the form for the file upload was included inside another form. After relocating the form, it works exactly

Re: [2.3.8] Parameters interceptor tampering with file upload ?

2013-01-16 Thread Philippe Lagardere
Hello, The server was not a good track - apparently Tomcats can manage multipart/form-data natively. The only configuration I could find revolved around setting up the directory to send the file to, as well as restricting the allowed file size or type. I tried setting up a file upload form on a m

Re: [2.3.8] Parameters interceptor tampering with file upload ?

2013-01-15 Thread Philippe Lagardere
I tried downgrading to 2.3.4.1, but the exception remains. I also get back my conversion errors on Number/Date fields (I mentionned them in the previous mail), but this was expected, as I did not remove the custom converters I use (see also : https://issues.apache.org/jira/browse/WW-3843 ). I have

Re: [2.3.8] Parameters interceptor tampering with file upload ?

2013-01-14 Thread Lukasz Lenart
Did you try to test with version prior to 2.3.7? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/1/14 Philippe Lagardere : > Hello, > > I've been trying to set up a form to upload a .txt file to the server, > and met a curious exception doing so. The exception implies Struts >

[2.3.8] Parameters interceptor tampering with file upload ?

2013-01-14 Thread Philippe Lagardere
Hello, I've been trying to set up a form to upload a .txt file to the server, and met a curious exception doing so. The exception implies Struts expects the setter method to use a String array instead of a java.io.File. Not that it would have been acceptable, but adding a setter using a string arr

Parameters Interceptor

2009-10-16 Thread struts-restful
the params Interceptor then no variables on the action are being set Is there a way to do both things and call the set id method twice? -- View this message in context: http://www.nabble.com/Parameters-Interceptor-tp25921673p25921673.html Sent from the Struts - User mailing list archive at

Re: Parameters Interceptor

2007-06-24 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > "Similiarily it's possible to use action.setPrimaryKey() > property set call to actually load the model class from > persistent storage. Without any assumption on parameter > order you have to use patterns like 'Preparable'." I thought it meant that once you have a

Re: Parameters Interceptor

2007-06-24 Thread stanlick
Can someone enlighten me on the following excerpt from the Apache Struts 2 Documentation Parameters Interceptor http://struts.apache.org/2.x/docs/parameters-interceptor.html "Similiarily it's possible to use action.setPrimaryKey() property set call to actually load the model

Parameters Interceptor

2007-06-24 Thread stanlick
Can someone enlighten me on the following excerpt from the -- Scott [EMAIL PROTECTED]

parameters interceptor and multipart/form-data

2007-06-04 Thread Joshua Szmajda
Hi all, Whenever I set the enctype on my form to multipart/form-data (in order to handle some file uploads), it sporadically will stop the parameters interceptor from receiving any data at all. When this happens, the log shows: 12:47:23,999 [http-8080-Processor24] DEBUG