yes <s:form action="CreateIssue" theme="qxhtml" method="POST" enctype="multipart/form-data">
this is the form tag... On Tue, Oct 21, 2008 at 4:25 PM, Ketil Holden <[EMAIL PROTECTED]>wrote: > Have you set enctype on the form element? > > Like this: > <s:form action="action" enctype="multipart/form-data" ... > > ?? > > > -----Original Message----- > From: Narayana S [mailto:[EMAIL PROTECTED] > Sent: 21. oktober 2008 12:31 > To: Struts Users Mailing List > Subject: Re: File Upload into database > > Hi Thanks for your reply, > > but when i submit my form it is not setting value for the upload > properties. this is how my code is ... > -- in jsp > <s:file name="upload" label="Attachment"/> > -- in action > private String uploadContentType; > private String uploadFileName; > private File upload; > > and getter setters for these properties. i am using struts 2.1.2. where i > am > still missing? remaining properties of the form are getting set, only this > is not working :( > help me > > On Tue, Oct 21, 2008 at 12:14 PM, ManiKanta G <[EMAIL PROTECTED]> wrote: > > > http://struts.apache.org/2.x/docs/how-do-we-upload-files.html > > > > have some info to start. > > > > ManiKanta > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >