| Author |
photo upload from jsp to servlet and then storing in oracle database
|
pavithra raghu
Greenhorn
Joined: Dec 22, 2011
Posts: 7
|
|
How to upload image, which should be taken from the jsp and send it to servlet which stores them in database.
I have idea that we have to use a library, the library which i am trying is commons-fileupload-1.2.2.jar. but i dont know the methods or the logic behind it
please help me out
|
 |
pavithra raghu
Greenhorn
Joined: Dec 22, 2011
Posts: 7
|
|
|
i am not understanding where to go in that website, help me out, i am doing that for my project
|
 |
Sabarish Venkat
Ranch Hand
Joined: Jan 18, 2012
Posts: 133
|
|
Use the below code and change the database values according to your values.
JSP code
Servlet Code
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2552
|
|
|
We do have a NotACodeMill policy around.
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
 |
|
|
subject: photo upload from jsp to servlet and then storing in oracle database
|
|
|