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 <s:file name="upload"/> Tag in the jsp Page.
U can get file just call upload field.

On Tue, Oct 21, 2008 at 2:32 PM, Narayana S <[EMAIL PROTECTED]> wrote:

> 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 links or
> information on how can this be achevied will help me.
>
> thanks in advance.
>



-- 
BestRegards,
Mead
http://yayisoft.com

Joan Rivers  - "The first time I see a jogger smiling, I'll consider it."

Reply via email to