struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayana S" <narayanas...@gmail.com>
Subject Re: File Upload into database
Date Tue, 21 Oct 2008 10:31:04 GMT
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 <go4mani@gmail.com> wrote:

> http://struts.apache.org/2.x/docs/how-do-we-upload-files.html
>
> have some info to start.
>
> ManiKanta
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message