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.
Hi Guys, I have a situation, hope you might be able to help me out. I have a table in oracle in which i store a picture file as a blob object, i use an EJB which takes a byte stream as an argument for the same column. NOw i have to create a administrative GUI by which the user will be able to upload the picture and provide information for the other columns also.THe form will have a browse button for the file selection and corresponding upload, but for this the form send multipart data and i will have to use a datainputstream to read it, which will now contain both the image file as well as other table related information.How will i be able to seperate the content from one another ie the file from the other fields the user fills in because using the multipart data wont allow the normal request.getParameter syntax.And i cannot submit 2 different forms as another option because i need the other info user submits to get the handle on that row. Lookin forward to your response. Regards. Daman