te:
>
>> Have you set enctype on the form element?
>>
>> Like this:
>> >
>> ??
>>
>>
>> -Original Message-
>> From: Narayana S [mailto:[EMAIL PROTECTED]
>> Sent: 21. oktober 2008 12:31
>> To: Struts Users Mailing List
>&
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
>
>
Have you set enctype on the form element?
Like this:
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
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
-- in action
private String uploadContentType;
private String uploadFileName;
private File upload;
and getter setters for these properties. i am
http://struts.apache.org/2.x/docs/how-do-we-upload-files.html
have some info to start.
ManiKanta
There is Example in the "show-case" app, which is contain with the struts
Full Releases package.
simplely,
U add into Action:
private String uploadContentType;
private String uploadFileName;
private File upload;
and use Tag in the jsp Page.
U can get file just call upload field.
On Tu
Hi,
i am new to struts 2, want to use file upload control. once the file
is uploaded i want to store its content into the database, i didn't work on
the file upload previously also. so any one can please tell me the best way
to access the uploaded file and store that into database? any lin
7 matches
Mail list logo