aspose file tools*
The moose likes JSP and the fly likes How to store image in JSP from BLOB captured in Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to store image in JSP from BLOB captured in Oracle" Watch "How to store image in JSP from BLOB captured in Oracle" New topic
Author

How to store image in JSP from BLOB captured in Oracle

pavan kumarthati
Greenhorn

Joined: Feb 21, 2009
Posts: 3
I wrote the following program But i am getting the NullpointerException regarding the storage of image in storeimage.jsp


form.jsp


storeImage.jsp

Any Answer regarding this is really appreciative........
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

Try using below code.



Cheers!!!

Ujjwal B Soni
<MSU BCA STUDENT 2007>

Helping hands are better than praying lips !!!


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Venkat Sadasivam
Ranch Hand

Joined: May 10, 2008
Posts: 139
You might need to use Multipart parser to get uploaded file content in server-side.
http://commons.apache.org/fileupload/using.html


“Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ”<br>
-Martin Fowler
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to store image in JSP from BLOB captured in Oracle