This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am new to servlets...my task is to send an image to database from netbeans and in return get an acknowledgement from database..
Please help me in this...how to start this....
Few things which you need to clarify. What do you mean by sending an image to database? Is this persisting to database. Then why are you bothered about servlets.
Or is this sending an image over HTTP to some remote server, which in turn takes the responsibility of persisting to database and send back an ack. I guess this is what you are looking for.
this is similar to file upload (though I have not personally worked on this). Apache has an open source project called FileUpload which provides this facility. Once you get the file at server, persisting to database is a different operation. Google on apache FileUpload and you are presented with abundant examples.
Thanks & Regards, Ravi C.Kota
SCJP 5.0, OCDJWS 5.0