I have problem in uploading files, I have created a class with modle driven.and in jsp i mentioned form as encyrpt
when i submit form I am getting form values as null from bean, and file name as correct or sometimes viceversa jar i am using is 2.0.6 On Mon, Dec 15, 2008 at 5:23 PM, srinivasa_v . <srinivas...@sify.com> wrote: > Hi alll, > Did any one had any idea for file upload in ModelDriven case. > when I try to use multi part with modledriven,my form values i am getting > as null > > regards > srinivas > > On Sun, Dec 14, 2008 at 9:40 PM, srinivasa_v . <srinivas...@sify.com>wrote: > >> pls find the page that i have created and pls help me >> >> On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton <newton.d...@yahoo.com>wrote: >> >>> --- On Fri, 12/12/08, srinivasa_v wrote: >>> > <s:form action="NewRequestPostController" name="EmpReleaseTransferForm" >>> > method="post" enctype="multipart/form-data" > >>> >>> Oh, did you mean "enctype"? >>> >>> > <s:file theme="simple" name="sponsorDetails" id="sponsorDetails"/> >>> > </td> >>> > >>> > in action class [...] >>> >>> It might be beneficial to include the portions of the form and model that >>> include all aspects of the problem you're having. >>> >>> I've never used a file upload with modelDriven before, but I guess I'd >>> assume it'd work. >>> >>> Dave >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >