Retrieving a image on The browser for display

I have a Tomcat-Server running on a Win NT platform . It houses Oracle 8. We are making a JSP application which will take an image file from the Hard disk and put it into the ORacle database .
We are able to put the image in the database and also retrieve it from the database . But for retrieving we have to download it into a temporary file and then view it over the browser .
I was just thinking if it is possible for JSP to get the image from the database and show it in the browser without actually storing it in a temporary location .
Please help Me
DP

One possiblity:
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<HTML>
<HEAD>
<TITLE>TEST</TITLE>
</HEAD>
<BODY>
TEST TEST
<BR>
<IMG SRC="http://localhost/forum/forum.ShowBlob?id=34" alt="plaatje">
<BR>
PLAATJE
</BODY>
</HTML>
ShowBlob is a class which retrieves the image out of DB.
Regards
Martin

Similar Messages

  • My 8530 does not display images in the browser

    My bb 8530 a few weeks ago suddenly stopped displaying images in the browser. Browser options are set to "display images". I've power cycled many times, even reset and wiped, but still no images in browser. How can I fix this? Thanks.

    hi i have noticed the same problem. also with Chrome and FP ver 11.5.31.2and Firefox and Safari with FP 11.5.502.110
    it seems that MovieClipLoader class not returning onLoadInit event. I use to add a fadein function on loadInit to fade in the loaded images. with the latest Flash PLayer versions this is not activated so you cannot see the loaded images.
    I have tested this on 3 different systems and the problem is the same. I have not updated my FP for IE. There, the older FP still works well.
    test systems
    Mac OS LionSafari and FP 11.5.502.110 --- DOES NOT WORK WELL
    Windows 7 64 bit
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL
    Firefox 16.02 with FP 11.5.502.110  - DOES NOT WORK WELL
    IE 9 with FP version 11.4.402.287  - WORKS
    Windows XP SP3
    Firefox 16.02 with FP 11.5.502.110 - DOES NOT WORK WELL
    IE 8 wth FP 11.4.402.287  - WORKS
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL

  • Forcing the browser to display current images

    Hi all
              I have a content manager tool where images are uploaded to a server.On the
              same screen the current version of the image is displayed
              When a new version of the image is uploaded and the page is requested again
              without closing the browser window), the old image displays unless the user
              clicks the refresh button or hits the F5 key.
              Is there a meta tag that will specifically expire images in the browser
              cache and force the browser to get the new version?
              I have tried various meta tags eg
              <meta http-equiv="Expires" content="0" />
              <META HTTP-EQUIV="REFRESH" CONTENT="-1">
              <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
              If the user closes the browser, opens it again and request the url then the
              new version of the image displays. It as though the cache doesnt flush or
              something until the browser is closed.
              The only other way I can think of is to add a ?param=some_random_number
              query string to each image in my html - not sure if that would work or not.
              Any help appreciated
              Thanks
              Matt
              

    Hi
              I ended up adding a randomly generated query string to all of my images that
              need to be reretrieved and it worked
              eg the url for my image would be images/myimage.gif?cacheparam=12345
              I did this instead of a custom filter/servlet because only about 3% of my
              images have these strict "ignore the cache" requirements and I couldnt think
              of a url pattern that would properly isolate them without also disabling
              caching for all of my other images.
              Thanks for your replies - i never thought of being able to set response
              headers individually for images.
              "Wenjin Zhang" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I believe you can do that by adding HTTP headers in response object in
              your filter.
              >
              > "Matt Krevs" <[email protected]> wrote:
              > >Thanks
              > >
              > >Could I do this with a filter instead of a servlet?
              > >
              > >what headers would i set for each image?
              > >
              > >"Wenjin Zhang" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> If you have a customized servlet to serve your images, you can add
              > >cache
              > >control
              > >> in HTTP header (not meta in HTML).
              > >>
              > >>
              > >> "Matt Krevs" <[email protected]> wrote:
              > >> >Hi all
              > >> >
              > >> >I have a content manager tool where images are uploaded to a server.On
              > >> >the
              > >> >same screen the current version of the image is displayed
              > >> >
              > >> >When a new version of the image is uploaded and the page is requested
              > >> >again
              > >> >without closing the browser window), the old image displays unless
              > >the
              > >> >user
              > >> >clicks the refresh button or hits the F5 key.
              > >> >
              > >> >Is there a meta tag that will specifically expire images in the
              browser
              > >> >cache and force the browser to get the new version?
              > >> >
              > >> >I have tried various meta tags eg
              > >> >
              > >> ><meta http-equiv="Expires" content="0" />
              > >> ><META HTTP-EQUIV="REFRESH" CONTENT="-1">
              > >> ><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
              > >> >
              > >> >If the user closes the browser, opens it again and request the url
              > >then
              > >> >the
              > >> >new version of the image displays. It as though the cache doesnt flush
              > >> >or
              > >> >something until the browser is closed.
              > >> >
              > >> >The only other way I can think of is to add a
              ?param=some_random_number
              > >> >query string to each image in my html - not sure if that would work
              > >or
              > >> >not.
              > >> >
              > >> >Any help appreciated
              > >> >
              > >> >Thanks
              > >> >Matt
              > >> >
              > >> >
              > >> >
              > >>
              > >
              > >
              >
              

  • Loading an Image from the database and display it on browser

    I do not know if this is even possible.
    At the moment, to load an image inside an Html page you need to use the <img src=""> tag. and in the src you put the path of the image. Now I would like to save an image inside the database.
    An option to still display the image on the browser would be that my service object, would load the object from the database (saved as blob) then save it somewhere on the Server, and the still use the <img> tag to load the image from that location.
    However I was wondering wheather there is another way to do it without saving this image on the server. that is loading the bytes from the database (or a location on the server) and provided these bytes to the jsp page to display the image.
    Is this possible? or?
    regards,
    sim085

    hmm ... ok .. that sounds good .. but that means that
    a servlet must exsist at all time to display the
    required image.Servlets are usually instantiated by the servlet container upon an incoming request.

  • How do I hide the stacks badge overlays on images in the browser?

    In View > Metadata Display > Show metadata    is off, but the badge (with the number in the stack) is still visible.

    On
    http://documentation.apple.com/en/aperture/usermanual/index.html#chapter=11%26se ction=9%26tasks=true
    is explained how to show them;
    To display badge overlays on images in the Browser in grid view 
    Do one of the following:The Browser & Viewer Metadata dialog appears.
    Choose View > Metadata Display > Customize (or press Command-J).
    In the tool strip, choose Edit from the Metadata Overlays pop-up menu.
    Choose a Browser Grid View metadata overlay view from the View pop-up menu.
    In the Metadata Fields column, click the Aperture disclosure triangle to reveal the metadata fields below it, then select the Badges checkbox.
    Click OK.
    Make sure both Show Metadata and the metadata overlay view you just modified are selected for the Browser in the Metadata Overlays pop-up menu in the tool strip.
    Badge overlays are now visible in the Browser.
    You can turn off the display of badge overlays in the Browser by turning off the display of metadata. For more information, see Turning the Display of Metadata On or Off.
    But I don't understand;      In the tool strip, choose Edit from the Metadata Overlays pop-up menu.

  • Export presets now direct me to the "Browse For Folder" dialog box

    Suddenly Lightroom will not remember the name of the "export to" folder when I use my export presets in certain ways, even though the name of the "export to" folder appears in the "Export" dialog box. The prolem exists in Library and Develop modules. This is what's happening…
    IF I CLICK ON "FILE":
    1. And choose the "Export" option, LR displays the Export dialog box, from which I can select an user preset and export a JPG file to the proper folder, as intended. (OK) 
    2. And choose the "Export with Previous" option, LR exports the JPG file immediately to the proper folder. (OK) 
    3. And I choose the "Export with Preset option, LR displays the menu of Lightroom presets and user presets, but clicking on a user preset displays the "Browse for folder" dialog box from which I must manually browse to the export folder before a file can be exported. (NOT OK) 
    IF I RIGHT-CLICK ON THE IMAGE:
    LR displays a menu containing these options: Export, Export with Previous, the Lightroom presets, and my user presets. 
    4. If I then choose "Export," LR works properly---same as example 1 above. (OK) 
    5. If I then choose "Export with Previous," LR exports the JPG file immediately. (OK) 
    6. If I then choose one of my presets, LR does not work properly: it acts as it does in example 3 above. (NOT OK) 
    BACKGROUND:
    I have been using these presets for almost a year without fail---they're great! Two days ago I moved my Lightroom catalog to a new external drive. I also renamed the "export to" folder (that new name is stored in the "Export" dialog box). 
    I sure would appreciate hearing from anyone on this because it's driving me crazy. Thanks.

    SOLUTION FOUND:
    I created yet another folder for storing exported JPGs. Then for each export preset I used the "Browse For Folder" dialog to point that preset to that new folder. All presets now work as before. This fix was tolerable for the seven presets I have, but a large number of presets would have made it a real chore.

  • HT5019 I connect my macbook pro to an Epson wireless projector. The macbook can see the projector wirelessly and the image on the macbook is displayed on the projector. However on system ref., the arrangement tab does not show and thus cannot have multipl

    I connect my macbook pro to an Epson wireless projector. The macbook can see the projector wirelessly and the image on the macbook is displayed on the projector. However on system ref., the arrangement tab does not show and thus cannot have multiple view.
    I am trying to project Pro Presenter on the Epson projector such that I have the detail screen on the macbook and only the screen I want people to see on the projector display. This has not been possible because the arrangement tab on the Display section of the System Preference is not showing. If i tried to search for the arangement, it comes back with the message that there is not other source detected, hence the arrangement tab is not showing.
    I have also tried to connect the Epson directly to the Macbook but it still the same result, so its not because it is a wireless connection. Can someone advise me jhow to go around this problem. I have used windows before and it is very easy to extend ptojection on windows, but this system seems to be frustrating to me.
    Thanks,
    Toks

    Hi Toksyb!
    You may want to try clearing out the PRAM on your computer. This process is explained through this article:
    About NVRAM and PRAM
    http://support.apple.com/kb/ht1379
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Loading an image in the background and displaying it as it is loaded

    Hi,
    I'm writing an "image viewer" swing component, which should load an image in the background, and display it as it is loaded (for example each time a line of the image is loaded, display it)
    Is there a way to do this using JAI or any other api ?
    I guess i would need a way to check the loading progress from the EDT, get the loaded part of the image and display it. Am I right ? Is that possible ?
    Thanks,
    Nicolas

    In the video inspector set the Spatial Conform to "none". This will give tou the actual size of the image in the viewer. You can then use the transform controls to adjust the image to what you want to see.

  • How to upload the image and diplay the image in the browser using jsp

    How to upload the image and diplay the image in the browser using jsp
    thanks
    shan

    i'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question

  • Why can't I drag and drop images from the browser into other programs?

    Ever since I upgraded to Firefox 4 (even after I upgraded again to Firefox 5) I have been unable to drag images from the browser into other programs, including MS Paint and IcoFx. I receive an error message stating that the file (the address given lists it as being located in the temporary files folder) cannot be found.
    Prior to this I had always been able to conveniently drag and drop images for easy editing without having to save first and then open them. This feature is important to me, as I work with graphics very often, and is still available in Chrome and Internet Explorer. I love Firefox though, and hope that there is something I can do to fix the problem.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

  • Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    In case you are using "Clear history when Firefox closes":
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    If you have software like Advanced SystemCare (Surfing Protection feature) that might reset some files to older versions to protect these files against changes then check the settings or uninstall this software.

  • Safari will no longer load any images in the browser. What could be the problem?

    In the last couple of months safari will no longer load any type of image in the browser. All the text loads fine and the layout is correct but everywhere there should be a picture of any sort is blank. what can I do to fix this?

    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod      
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • LifeCycle Form Server :- My form is rendering as pdf in the browser  without displaying data sometim

    LifeCycle Form Server :- My form is rendering as pdf in the browser without displaying data sometimes within data fields, and at other times it will display data. The form consistently displays data when rendered in HTML.
    We display the forms in a browser either HTML or PDF format based on the user selection. But the behavior of PDF format is not consistent. Sometimes it renders properly and sometimes the form renders without data.
    Dose any one experienced this issue?
    Any help would be greatly appreciated.
    Thanks in advance,
    RK

    I have been seeing the same issue, but haven't been able to find a fix for it yet. So any info would be appreciated here too.
    Thanks

  • Dragging a large still image from the browser into the viewer crashes FCP

    Okay, I've not seen this problem until just a couple days ago but was wondering if it was just me or if everyone has this problem? I've found a work-around, but let me explain the problem first.
    I'm creating a growing up photo montage. I scanned all of the pictures myself at 300 dpi (as I've always done in the past) and saved them as TIF files. Some pictures as relatively small, i.e. 3.5 mb is size and do just fine, but it appears anytime I drop a picture into the viewer in preparation for the the timeline, it will crash FCP if the image file is any larger than about 5 or 5.5 MB. Now I know there is a limit on the resolution of a still and it shouldn't be any larger than 4000 pixels in either direction, but that is not my problem, the problem appears to occur with large files. I've used large still files before in past projects without any problem, so this is why I'm stumped. I've went as far as trashing my preferences, but that didn't change anything. I've even tested a still image from a past project that was something around 9 MB (or was it 19 mb?) in any case, it also crashed FCP but... I've used that picture before in past projects without any problem. I even created a new test project just in case my project file itself had a problem.
    My work-around is to simply drop the still image from the browser directly into the timeline, thus bypassing the viewer. This works every time without a hitch. I can even double-click on the still now setting in the timeline to load it into the viewer so I can add effects or keyframes or whatever without any problems (thank goodness). So, has anyone else experienced this problem or is it just me?

    Is this image saved in a colorspace mode that is anything other than RGB?
    CMYK & Grayscale images will cause problems.
    Some light reading regarding your choice of 300 dpi: http://www.scantips.com/no72dpi.html
    Unless you plan on panning and zooming your images, the best procedure is to use one of the video preset templates in Photoshop and paste your content into it. Scale and position using the Transform controls. For best results save as a TIFF without compression. Don't forget, always in RGB colorspace.

  • OTN brings up pages quickly, then locks up the browser for 20+ seconds.

    I am running IE7 on Windows XP. When I go to OTN the page will display quickly but then locks up the browser for over 20 seconds. During that 20 seconds it is pegging one of my 2 CPUs. I have tried on a Win7 machine running IE8 and it works fine there. I tried a FireFox 2.0.0.4 on a Citrix platform and that worked fine. When I tried IE7 on Citrix that exhibited the same 20 second delay as IE7 on my desktop. So possibly IE7 related.
    I've tried emptying all the browser caches, cookies, history etc. That did not help.
    I have a SysInternals Process Monitor log file of the problem if you are interested.
    I have also opened an SR SR 3-6249649411 related to this problem but they tell me it needs to be handled through this forum.
    Thanks for your help.
    David Fielding
    Oracle DBA
    Bonneville Power Administration
    Edited by: dmf4171 on Oct 2, 2012 3:42 PM

    Hi,
    It's a little confused about "Ever since then my computer locks up for 10 to 30 seconds, mainly for internet related tasks"?
    Did you give us a screenshot? Did you mean it freeze when browsing the Internet Explorer?
    If yes, try this:
    Windows 8.1, Windows 8 or Windows 7 hangs or freezes("My computer hangs or freezes when browsing in Internet Explorer" section)
    http://support.microsoft.com/kb/2681286
    Karen Hu
    TechNet Community Support

Maybe you are looking for

  • JList problem

    Hi , Iam having a JList with some strings in it .I'll be selecting multiple values from it .(Multiple_interval_selection model) .I need to store the values in JList to database (Ms access).I couldn't do it .So many times i have tried .The values are

  • AAA Rules for PIX515E 6.3(5)

    Hello. If I wanted to configure the PIX for authentication from an ACS server (for the purpose of PIX management), what else would I need apart from the following: aaa-server Admin-FW protocol tacacs+ aaa-server Admin-FW max-failed-attempts 3 aaa-ser

  • Level 1 incremental backup taking larger space

    Hi All, Yesterday i had level 1 incremental backup. Backup completed successfully but its size was as equal as Full Backup. What could me the possible reason for that ? Environmnt is Oracle 10g R2 2 Node RAC on windows.

  • Links in Compositions and/or Slide Shows?

    Is it possible to put a link on an individual image within a composition or slide show? I would like to have links to other pages on each individual image. For example, as image #1 appears, if the user clicks the image it would take the user to a web

  • Licensing Requirement for my below Scenario:

    Hi Friends, Scenario: I want to install 4 Servers with Windows 2012-Standard Edition. Later will configure Hyper-V Cluster on it... on top of this cluster we would like to install 16 "Windows 2012 Standard" Virtual instances. Please let me know how m