my dog learned polymorphism
The moose likes Servlets and the fly likes How browse a URL from local disk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How browse a URL from local disk" Watch "How browse a URL from local disk" New topic

How browse a URL from local disk

vijay kumar dahiya
Ranch Hand

Joined: Oct 19, 2008
Posts: 33
Hello To EveryOne,
I want to Browse the URL and Sumit this URL(which is Image) store the Image in Oracle using servlet/JSP.
Allthough I done store and reterive the Image in database.But I give this URL path in Servlet file.
I want that URL give from browsing a Image URL path from local disk when I click to browse button,then select the path and store this URL to database when I click submit button.
Please help me..

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I'm having a hard time understanding your question.

Can you try re-wording it?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Do you want to upload the image from browser and store it in DB or just want to store the file path in DB and read the image from disk when user requests for it?

My Blog
I agree. Here's the link:
subject: How browse a URL from local disk
jQuery in Action, 3rd edition