Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 1st, 2004, 11:40 PM
Registered User
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in inserting blob data to oracle


I try insert image files to Oracle BLOB Cloumm

image files not saved in local file system ( ex, c:\0.jpg )

how can i insert image files stored in web ?

ex.. http://xxxx.net/xxxxx.jpg ,, and so on

when i insert my image file stroed in local system ,
i use new File("c:\\0.jpg")

but new File("http://xxxxxxxxxxxxx.net/xxxxxxxxxxx.jpg")
has not worked successfully

please help me T_T:(

Reply With Quote
  #2 (permalink)  
Old December 2nd, 2004, 01:40 PM
Friend of Wrox
Join Date: Jul 2004
Location: , , .
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts

Have a look in the forums, this is a common queston.
This thread shows how its done in MySQL, should work for Oracle also:


Reply With Quote
  #3 (permalink)  
Old December 2nd, 2004, 01:44 PM
Friend of Wrox
Join Date: Jul 2004
Location: , , .
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts

Sorry I misread your question.
You say you can insert on a local machine, but not on the web.
Are you using an html form to upload the image?

If you are and your form uses the GET method, all you are sending is the filepath, ok on a local machine where your 'server' has access tot the file.

If you try to use forms on a remote server, you need to use the POST method which actually sends the data.

Does this answer your question??

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
insert image in to oracle blob data type rajesh_bamane Pro VB Databases 3 July 15th, 2006 02:06 AM
Display RTF data From oracle BLOB to RichTextBox saravananedu VB How-To 2 July 26th, 2005 12:03 AM
Problem inserting blob data/uploading file - MySQL kyle_shea Beginning PHP 2 February 15th, 2005 10:18 AM
inserting blob data into database taoufik Beginning PHP 2 November 19th, 2004 09:28 AM

All times are GMT -4. The time now is 06:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.