OrdHttpResponseHandler problem [screens]

Hello,
So, i have following java code which was written in JSP :
<%@page import="oracle.ord.im.OrdHttpJspResponseHandler"%>
<%@page import="oracle.ord.im.OrdHttpResponseHandler"%>
<%@page import="oracle.ord.im.OrdImage"%>
<%@page import="oracle.jdbc.OracleResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="OracleConn.OracleConnection" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Biblioteka muzyczna</title>
        <link rel="stylesheet" type="text/css" href="css/style.css"/>
    </head>
    <body>
        <h1>IMAGE :</h1>
        <br/><br/>
        <%
            OracleConnection conn = new OracleConnection();
            try {
                String query = "select plikimage from testimage where id=2";
                PreparedStatement pstmt = conn.polaczzBaza().prepareStatement(query);
                OracleResultSet rset2 = (OracleResultSet) pstmt.executeQuery();
                if (rset2.next()) {
                    OrdImage imgProxy = (OrdImage) rset2.getORAData("plikimage", OrdImage.getORADataFactory());
                    OrdHttpResponseHandler handler = new OrdHttpResponseHandler(request, response);
                    handler.sendResponse(imgProxy.getMimeType(), imgProxy.getContentLength(), imgProxy.getContent(), imgProxy.getUpdateTime());
                    //Next solution below
                    //OrdHttpJspResponseHandler handler2 = new OrdHttpJspResponseHandler();
                    //handler2.sendImage(imgProxy);
                } else {
                    response.setStatus(response.SC_NOT_FOUND);
            } catch (Exception e) {
        %>
    </body>
</html>So, code works i mean it shows only the image which was loaded from database. I would like to change code in this way, that i would able to add some other stuff to the website.
Screen :
http://imageshack.us/photo/my-images/834/screenwn.png/

Hi  Sai Kumar B ,
Sorry but it doesn't exist. (CALL TRANSACTION XXXX AND RETURN)
Thanks .
Edited by: Ana Marí on May 19, 2009 4:18 PM

Similar Messages

  • As soon as I try to open PDF a "licensing problem" screen appears...

    I have reinstalled reader software but get the same message.

    Hey -
    Thanks for taking the trouble to respond - appreciated. I did post the details you requested and sent you IM about that. Anyway, the problem
    appears to have fixed itself as soon as I opened Acrobat9 Pro it
    reconfigured itself and everything is working again!
    _Den
    Date: Mon, 5 Dec 2011 20:22:47 -0700
    From: [email protected]
    To: [email protected]
    Subject: As soon as I try to open PDF a "licensing problem" screen appears...
        Re: As soon as I try to open PDF a "licensing problem" screen appears...
        created by ʇɐb ɹəuəllıʍ in Adobe Reader - View the full discussion
    What is your operating system? Can you post a screenshot of that screen?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4065853#4065853
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4065853#4065853. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Laptop problem - screen or graphics card

    Hello there, my sister has a problem with her laptop that I'm having trouble getting my head around. She told me last week that the screen on her laptop had started going black unexpectedly, not having the thing with me I thought maybe it was just going into standby but she says it goes black randomly, sometimes whilst in use. I then thought it may be a screen problem (backlight etc) as she then told me that when it went black she could still see the display if she looked at it in good light. This screamed backlight problem until I got here to plug it into an external monitor and the same thing happened.
    Since I last spoke to her the problem seems to have gotten worse, she says the screen flickers on and off, sometimes staying on sometimes not. It used to come back on by pressing the power button but this no longer works either.
    I'm a bit stuck as to whether its screen or graphics card related now, any ideas anyone? The laptop is an hp pavilion dv6552ea.

    You can tell screen problems from graphics card problems by hooking the computer to an external monitor. If the problem is the same on an external monitor, then the problem is the video card. If not, it is the screen. Since the problem shows up on the external monitor it is the video card which is par for the course on that series of models with AMD CPU and nVidia graphics.

  • Unique problem Screen is not Getting data populated from BDC_DATA itab

    Hi Gurus,
    I have an unique problem, I have an custom transaction (module pool) and which first runs an ALV report displays an QM Records, There is an command button at the top of the report to create new defect, where i provide the Material Number, Supplier and Defect Code, and then if i press create it should navigate to standard transaction QM01 and It should create a new defect code.
    Issue:
    The recording runs fine till providing Material Number, Supplier and Defect Code of ZTCODE when it navigates to QM01, the whole executions just stops, i dont know why it is moving ahead. If i try to skip and come out of standard transaction also no improvement and all manually i should come out.
    Comparision with recording Made in ZTCODe and QM01.
    If i record the same activity directly with QM01 and if i try to run the recording, it runs perfectly.
    if i am trying to record it through Z module pool where it will navigate to standard transaction code QM01, it stops when it reaches QM01, i am getting this error. i dont know why.
    I have attached the code for your reference, kindly suggest me what can be the problem.
    MY CODE:
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FC_DEFC'.
    perform bdc_field       using 'P_VAR'
                                  '/VEHICLEPROJ'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'S_NITG-LOW'.
    perform bdc_field       using 'S_QMDAT-LOW'
                                  '03.09.2010'.
    perform bdc_field       using 'S_QMDAT-HIGH'
                                  '03.03.2011'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ONLI'.
    perform bdc_field       using 'P_VAR'
                                  '/DEFECT_CODE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'S_NITG2-LOW'.
    perform bdc_field       using 'S_NITG2-LOW'
                                  'G22C'.
    perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=NEW_DC'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '9507'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'W_SCR_REFNUM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=OK'.
    perform bdc_field       using 'W_SCR_MATNR'
                                  'G22C'.
    perform bdc_field       using 'W_SCR_LIFNR'
                                  '220947-00'.
    perform bdc_field       using 'W_SCR_REFNUM'
                                  'C_DEF_11'.
                it is not executing from here these screens belongs to QM01, it stops the whole execution
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RQM00-MAWERK'.
    perform bdc_field       using 'RQM00-MAWERK'
                                  'CTT'.
    perform bdc_field       using 'VIQMEL-QMCOD'
                                  '0120'.
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BUCH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RQM00-MAWERK'.
    perform bdc_field       using 'RQM00-MAWERK'
                                  'CTT'.
    perform bdc_field       using 'VIQMEL-QMCOD'
                                  '0120'.
    perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=&F12'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EECAN'.
    perform bdc_transaction using 'ZM11'.
    The screen gets hanged up in the QM01 screen and where the mandatory fields are not getting populated and thats it execution is not happening at any screens if i am trying to come out of transaction.
    Assumption - Correct me if iam wrong.
    There can be complication while calling a Ztcode (module Pool) which in turns calls a Standard Tcode.
    Thanks & Regards,
    S.Saravanan

    HI,
    Check the recording i think the recording does not contain the initial screen i.e SAPLIQS0 200.
    Re record the bdc or just add the initial screen in the BDC
    perform bdc_dynpro using 'SAPLIQS0' '200'.
    perform bdc_field using 'RIWO00-QMART' 'Q!' " What ever notification type u have
    perform bdc_field using 'BDC_OKCODE'  '/00'.
    This will sove ur problem .
    Regards,
    Madhukar Shetty

  • Imac 27 - new problem - screen moved up and dock in the middle.

    I was wondering if any of you had this problem as well. I restarted already comp and everything seems to be ok (question for how long), at this moment but just few min ago I had a dock horizontally in the middle of my screen with black and white stripes above and under that. Is there any chance that after spending so much money I will stop to be afraid what will happen next with my Imac? I am afraid to put it into sleep and wake it up. ;((((((((

    Apple just released Mac OS X 10.6.2, so you should install it. First, I would run Disk Utility and use +Repair Disk Permissions+ on the internal startup volume. When that completes, quit Disk Utility. You don't have to, but I usually restart immediately before running Software Update.
    Software Update is under the Apple Menu. When you run it, it should show Mac OS X Update 10.6.2. Install it. It has many general fixes, and some are related to the new iMac models.
    Hopefully, you won't have that odd problem you described going forward.

  • HP LAPTOP PAVILION G6 PROBLEM SCREEN ????????

    Screen not bright .............does not work proparly ........screen back light not work

    Hi @ALAK 
    Welcome to the HP Support Forums!
    I understand that you are having some trouble with your display. I am happy to assist with this.
    Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot
    Here are some other sources I found that may be helpful to you.
    Resolving Problems with Notebook Displays (Windows 7 and Windows 8)
    Resolving Problems with the Brightness of the Display
    Diagnosing a Liquid Crystal Display (LCD) for Damage
    If you are still having trouble after trying those various thing, please post the full product number for your notebook. See the following, if you need help in finding that.
    How Do I Find My Model Number or Product Number?
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Newest problem-screen freezing!

    I have a droid ultra that is running version 4.4.4 that was updated in July.  I too keep getting the "messaging has stopped working" error. I can't upload any pictures that I take to social media, I get an error saying cant complete upload.  My Xfinity connect app for my email is glitchy, I cant move emails from inbox into folders without getting booted out of the app every time.  I have a gift list app that boots me out any time I add something. And now my screen keeps freezing.  I can go into settings and move around but if I try an app, or chrome it goes there and then freezes.  Touching the screen does nothing and the back and home buttons do nothing and it is stuck on that screen. (right now it is stuck on location services screen)  I have done a soft reset twice already today and many times yesterday when it became such a problem.  I use the messaging app that was installed on the phone, I had the sim card replaced in mid June before going overseas.  Anyone else having this freezing issue? Just passed my year date of getting the phone and it seems like I've had some kind of issue with the Ultra since day 1.  But with the freezing it is un-usable since I cant navigate screens.  I've tried all the obvious fixes, and no-one at the store has a clue how to fix it.  Any ideas would be appreciated.

        I understand how frustrating this can be Dubey6, but I'm here to help now. I appreciate you trying those steps. Now, we need to try on Safe Mode http://vz.to/1EHAx2F .Keep us posted if this helps.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • Layout problem - screen not big enough!

    Hi everyone,
    I was wondering if anyone could think of a solution to my problem.
    I currently have a jframe which has four tables on it, one table spans the upper row, while the other three tables below it are next to each other: -
    | Upper Table |
    | Table 1 | Table 2 | Table 3 |
    I don't specify the dimensions of the tables or the jpanels that these tables will occupy so that they will fill the screen regardless of any different screen resolution that is used on the computer.
    My problem is that the combined heights of these tables means than the Jframe is bigger than the dimensions of the screen, so I can't see that bottom of the jframe - which among other things means I can't manually click on the bottom right corner to re-size the window.
    The reason I don't want to specify the exact dimensions of the tables or panels is because if I (for example) set the dimensions to fit into 800x600, and the person has a 1280x1024 resolution then when they maximize the window there'll be a big border around the tables. Like I said before, I want the tables to occupy the available space.
    I've tried setting the size of the jframe at startup using the setSize and setBounds method but it has no effect. It's odd, because I can still resize the window using the top left or top right corner and click and dragging to resize the window. When I make the window smaller the layout of the tables is fine, so I don't understand why the setsize method won't work - it's not like I'm setting the size to below their minimum dimension or anything.....
    I hope my explanation of the problem is clear :-)
    Does anyone know how I might fix it?

    oh, I think I might have fixed it. If I setpreferedsize on the panel that contains all of the tables, then it seems to work! :-D

  • FW 31.0.017 problem - Screen shut-off

    I have a very irritating problem after the up-grade to 31.0.017.
    Closing the slide of my N95 causes a momentary 45 degree scew of the display and then the screen shuts off completely. The phone is still on and recieves calls etc. but the display remains off. Opening the slide (in either dirrection) switches the screen back on again after a short delay.
    I have tried numerous resets (hard and soft) and reinsalations (NSU) but no joy!
    The old question arises - is there a way to reinstal 30.0.015?
    My advice right now is don't update yet if you have an old N95 RM-159 (0534841)!
    Anyone experienced the same - any solutions???

    Out of curiousity... is the phone being de-branded? De-branding the phone might caused the bugs since HW not supported by FW...
    Message Edited by miezarnd on 21-Jan-2009 10:27 PM
    V31.0.015
    07 Nov 2008
    RM-320 - 0555181

  • Problem screen macbook pro 15 retina display 2013

    A few weeks ago I have problems with the screen, apparently the protective layer of anti-reflective screen started to flake, and the course of the day it is getting worse. I can assure you it is manufacturing fault and unfortunately do not buy apple care, my mbp has an age of 1 year and 4 months. I expect a prompt response, it is not possible for a high-end computer has these problems are manufactured. When cleaning only use the cloth that comes with the mbpro, you may notice that scratches are not bad but the problem is finishing the protective layer of the screen.
    Excuse my bad English, google translator.
    En español:
    Hace unas semanas tengo problemas con la pantalla, al parecer la capa protectora antireflejo de la pantalla empezó a descascararse, y con el transcurso de los dias  está empeorando. Puedo asegurar que es falla de fabrica y lamentablemente no compre apple care, mi mbp tiene una antiguedad de un 1 año y 4 meses. Espero una pronta respuesta, porque no es posible que un equipo de gama alta tenga estos problemas que son de fabrica. En la limpieza solo use el paño que viene con el mbpro, se puede notar que no son rayaduras sino es problema del mal acabado de la capa protectora de la pantalla.
    Background black
    Background white
    display off

    No, the Apple warranty for Macs does not cover accidental damage.

  • Blackberry curve 8530 - startup problem, screen flashes white

    Whenever I try to start my phone this is essentially what happens. 
    I plug my phone into a charger, the red light lights up.
    Proceeds into the hourglass, then the screen partly flashes white. and then back to the red light.
    This then proceeds to happen forever.  Is there a fix? i've tried to update the software through desktop manager but there is always and error when i try this.  I use a mac and want to fix this asap.
    Thanks

    Hi and Welcome to the Community!
    Please try this sequence...note that, throughout the entire 4h15m process, your BB must remain connected to a known-good wall charger (not PC USB):
    With the battery inside, connect your BB to the wall charger
    Leave it alone for 2 hours, no matter what the LED or the display does
    Remove the battery
    Wait 15 minutes
    Insert the battery
    Wait another 2 hours, no matter what the LED or the display does
    This has been known to "kick start" some BBs.
    It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
    Obtain a known good and already fully charged additional battery...use it in your BB and see what happens
    Obtain access to a known good and identical BB...use your battery in it and see what happens
    The results of this will indicate if it's your BB or your battery that has the problem.
    Unfortunately, most of the good "tricks" for recovering a BB work only on PC...not MAC.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem Screen Sharing with my grandma.

    I am having trouble screen sharing with my grandmother's computer. I have a brand new Mac Book Pro 15-inch, 2.4 GHz Intel Core 2 Duo processor, 2 GB of memory with Mac OS X 10.5.1 . I bought my computer and my grandmother's back in October right after Leopard was released. She has a brand new iMac 20-inch, 2.4 GHz Intel Core 2 Duo processor, 2 GB of memory with Mac OS X Leopard 10.5 .
    We have been talking over video/audio chats using AIM for quite some time now with no problems other then an occasional internet problem (audio or video skips for a second or audio/video quality is bad for a few seconds). She is used to Windows so I have had to show/explain the basics of a Mac and every time she has a problem with something I try to help her by walking her through it, but it would be really nice if I could just do it myself through Screen Sharing. We have tried to share her screen but it comes up with and error message every time.
    I have looked at the things that people are saying about how to fix your problem with screen sharing and I have tried most of them but they don't seem to be working. Maybe I am just missing something.
    Please help me get this to work.

    As you say there is nothing Specific in the Info about Fair Usage.
    However the things you can not do are not so specific and could be stretched to cover what you want to do.
    However it would depend on how actively they searched the data traffic for the things that might be interpreted as P2P file sharing and the from it takes.
    As you can Video to some and Not Screen Share to others it sounds more like a NAT issue with (or possibly ports for Sharing Screens at your Grandma's) between you and your Buddy. ANd I think it is unlikely to be your ISP.
    The Screen sharing part of iChat does not use the listed A/V or login ports.
    It is supposed to use the Apple Remote Desktop ports that it is based on. However I have used Little Snitch which has pointed to many other Ports almost at random.
    Try changing the Login port at both your End and your Grandma's
    (iChat > Preferences > Accounts > Server settings tab - change the port from 5190 to 443) You can only do this whilst logged out of the AIM servers.
    5:25 PM Tuesday; February 12, 2008

  • Quicktime problem screen capture

    i used quicktime to record my screen and when i pressed "stop" it said "finishing" for a week and I cant quit the app. Its still going and I cant turn off my computer Thats what I see.

    I have a similar problem.  I used to reliably do screen recordings.  That is, I would do the screen recording, I would save the recording and I would be able to view it.  Now, I have intermittently been able to save the recording, but most of the time what I have saved is several minutes only of what should have been a much longer recording.  In the last two weeks, I have one recording of about 53 minutes....but otherwise all the recordings seem to stop early, I am unaware of it, I save the recording and it's only several minutes long.  Very bizarre.  Screencapture used to be reliable.
    I am running OSX 10.9.5
    2.7 Ghz Intel Core i7
    16GB 1600 MHz DDR3
    MacBook Pro mid-2012

  • Wizard Dialog  Box Problems - Screen Redraws

    I've encountered a frequently occurring problem with JDev dialog boxes. After launching and entering into a wizard, the
    dialog boxes do not draw correctly on my screen. For example, if I try using the Create Table Wizard, the input boxes for the table name,datatype, etc.. become a jumbled mess on the screen. I've tried re-sizing the dialog box and this has worked to some degree, but sadly in most cases it doesn't help. I don't think (although it's possible) that it's a bug on my computer.
    Any ideas? Workarounds? Solutions?

    Personally I would recommend against using JDK 1.4, either to run JDeveloper itself with, or to simply run your projects with.
    I've experienced some problems with that version, while the default 1.3.x works just fine. Problems range from minor GUI glitches to complete deadlocks in JClient applications.

  • IMac Problems - Screen Starts to go Haywire

    Hi All,
    Over the last day or so I've been getting a weird behaviour out of my iMac.  While I'm happily working along, the screen will start going haywire - flickering and doing weird things - to the point where I need to power off and power back on the computer in order to do anything.  The problem is that, when I try logging in again, while the computer is booting up, it might start doing the same thing -- I may not even be able to boot fully before the computer starts doing the same thing.
    I've posted a video on YouTube showing exactly what's happening:
    http://www.youtube.com/watch?v=XleFyhnDBqs&feature=plcp&context=C395eea0UDOEgsTo PDskLzHk1tJPGaZPbA7nPqcCxX
    I have booted up into the Lion recovery partition and run a disk verify - it came back clean.
    I'm currently reinstalling Lion to see if that will help.  It doesn't seem to happen when I'm booted up in the recovery partition, so that leads me to believe that it might not be a hardware problem. 
    Any thoughts/ideas from the community?
    Thanks,
    --db

    This means your GPU is disconnecting itself from the motherboard, what machine do you have??? This problem was common for the Thinkpads T4x series. 
    There are three possible ways of fixing it, one is put a stack of sticky note and apply pressure to the GPU.
    Then there is the motherboard reflow, there is video on youtube showing you how to do it.
    Then finally change the motherboard or get a new laptop.  
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

Maybe you are looking for

  • Strange problem when trying to burn a playlist

    I have a G5 and Itunes 6 or 6.0, whatever he current one is...anyway. I put in the songs (from my "library") into my playlist. All are, say, Aiff files, and all are playable (ie I can press the space before the song and it plays fine) and all are 44/

  • Windows 8.1 installation select the driver to install

    Hi, I am trying to install windows 8.1 64 bit onto my late 2012 mac book pro retina using the latest version of Maverick. I have used bootcamp assistant and am installing window 8.1 from a Microsoft created disk. After progressing through the partiti

  • Once and for all - malware protection needed?

    Can anyone tell me - once and for all - if I need to install malware/virus protection on my MacBook Pro and, if so, what is a legitimate and effective product?  I have browsed other discussion threads on this topic and found that the responses tend t

  • Premiere Pro CS4 won't render my sequences

    Everytime I send a sequence to Media Encoder, it just sits there. And sits and sits, etc. At the bottom it just says "Loading "Gleaner_Shoot.prproj". I'm using a 2008 Mac with 8 cores with 16 gigs of ram. My footage came from the Canon HV20. I have c

  • 1.1 performance question

    In the read me file I found this: Lightroom may experience decreased performance when the preference to Update XMP Automatically is turned on in the preferences. But when I look in preferences I don't see an option to change this. For me 1.1 is alot