Validation of DynaValidatorForm with String array

2007-07-17 Thread Rahul Joshi
Hi, In my struts application I am using a DynaValidatorForm which contains a String[]. I am doing "required", "integer" and "intRange" validation on the form. The problem I am facing is that if I declare the property in struts-config.xml as a string array with given size (like this : ) then the "

Re: Query regarding file upload

2006-12-10 Thread Rahul Joshi
Does anyone has an example ?? On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You would have to control this on the client end, perhaps using javascript to break the transaction into two HTTP requests. > -Original Message- > From: Rahul Joshi [mailto:[EMAIL PROTE

Query regarding file upload

2006-12-08 Thread Rahul Joshi
Hi, I have created a Struts action which accepts a file from client, I used org.apache.struts.upload.FormFile as a member inside the actionform that is associated with that Action. Before saving that file uploaded by client, I first look for a token string in the request's query part. That token