|
-
Mar 8th, 2006, 07:04 AM
#1
Thread Starter
Hyperactive Member
uploading image file and inserting valuables to DB
hihi..
i have difficulties on uploading image file and some file's values to the Db at the time when i post the form(jsp).
example;
i have selected some files name(with the full file path) ready to be uploaded to the server, and key in some values related to the file name in the text boxes. When i clicked on the send button, it will post the form by uploading the image file to the server folder, and insert the file value into the DB.
i have tried some of the sample code, but its either posted the file values only, or the imges whitout inserting the file values into the DB.
how can i do it at one single post to get 2 jobs done using jsp?
???
ocw
-
Mar 15th, 2006, 06:33 AM
#2
Addicted Member
Re: uploading image file and inserting valuables to DB
can you post your JSP so we can see what you are currently doing?
-
Mar 15th, 2006, 06:44 AM
#3
Frenzied Member
Re: uploading image file and inserting valuables to DB
How are you inserting the file into the database?
-
Apr 12th, 2006, 11:40 AM
#4
Addicted Member
Re: uploading image file and inserting valuables to DB
why not just insert a path in the DB and keep the files on disk, then you won't inflate the size of your db by filling it up with blobs...
Still upload the file and just stash it locally.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|