Re: File Upload into database

2008-10-21 Thread Narayana S
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 >&

Re: File Upload into database

2008-10-21 Thread Narayana S
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 > >

RE: File Upload into database

2008-10-21 Thread Ketil Holden
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

Re: File Upload into database

2008-10-21 Thread Narayana S
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

Re: File Upload into database

2008-10-20 Thread ManiKanta G
http://struts.apache.org/2.x/docs/how-do-we-upload-files.html have some info to start. ManiKanta

Re: File Upload into database

2008-10-20 Thread Mead Lai
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

File Upload into database

2008-10-20 Thread Narayana S
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