NEED HELP IN JSPX AND ORACLE INTEGRATION

Dear friends ,
I stored all images in my Tomcat web server where the url of them is as
http://localhost:8081/img/xyz.PNG  etc.
and I stored the same url in the database table.
jspx code of the file is as follows which query the database and return images url from database oracle 10g server to generate image-
*<?xml version="1.0"?>*
*<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"*
xmlns:c="http://java.sun.com/jstl/core"
xmlns:sql="http://java.sun.com/jstl/sql"
version="1.2">
*<jsp:directive.page contentType="text/html"/>*
*<jsp:directive.page import="java.util."/>*
*<jsp:directive.page import="java.text."/>*
*<html>*
*<head>*
*<title>MAP OF THE CITY</title>*
*</head>*
*<body bgcolor="white">*
*<sql:query var="img">*
SELECT citymap FROM map_service
WHERE cityname =?
*<sql:param value="${param.cityname}" />*
*</sql:query>*
*<img src="${img.citymap}" />*
*<p>*
*<form action="AAA.jsp" method="post" >*
*<input type="submit" value=" AAA " />*
*</form>*
*<form action="ZZZ.jsp" method="post" >*
*<input type="submit" value="ZZZ" />*
*</form>*
*</p>*
*</body>*
*</html>*
*</jsp:root>*
THE OUTPUT OF THIS CODE SHOWS A X MARK IN PLACE OF IMAGE AND THE HTML OF THE PAGE IS AS-
*<html><head><title>MAP OF THE CITY</title></head><body bgcolor="white">*
Snap Diary
*<img src="${img.citymap}"/><p><form method="post" action="AAA.jsp"><input value=" AAA " type="submit"/></form><form method="post" action="ZZZ.jsp"><input value=" ZZZ" type="submit"/></form></p></body></html>*
In place of image there is a cross
*the right click on image show this url http://localhost:8081/map_project/${img.citymap}*
where the actual folder in which I stored snap is http://localhost:808/img/ and the url which I stored in the database
is also as http://localhost:8081/img/axz.PNG  etc...
*Query should return the value as http://localhost:8081/img/axz.PNG not as http://localhost:8081/map_project/${img.citymap}.*
What's the reason?
*<img src=<c:out value="${img.citymap}" /> is working well with jsp page but show error in jspx format why?*

TNSTAAFL
I DO NOT work for Best Buy, Geek Squad and any way affiliated with them. I am a self-employed repairman. I specialize in TV's and desktop computers. I do not take sides. If BB is wrong I will say so. If you are a moron with a false sense of entitlement, then I will tell you.

Similar Messages

  • Need help solving listener and Oracle problems with Mac OS X 10.4 "Tiger"

    I have Oracle 10g working on Mac OS X 10.4 "Tiger" except for the listener and Oracle net 8 configuration. I have not been able to get the Oracle listener to work with my built in Mac Airport wireless network card or built in ethernet card. I keep getting the errors
    connection refused cannot start listener. Can anyone offer help?
    Thanks
    Ben
    [email protected]

    Hi Ben,
    how does your listener.ora look like ?
    Mine is:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-eth)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-wifi)(PORT = 1521))
    and listens to the ethernet and airport address.
    When do you get the problems ?
    regards,
    Ronald
    http://ronr.nl/unix-dba

  • Need help re applet and oracle thin

    I'm having with applets when it comes to connection to the database. Here's what happened I want to integrate my Elixir report to my applet application I compiled it and I saw no error. But when I tried to run a dialog box appeared into my screen with a message
    "java.security.AccessControlException:access denied(java.util.PropertyPermission oracle.jserver.version read)"
    what's wrong with this I don't know what to do already hope you can help me figure out what's wrong with my program tnx.
    here's my html code:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="Shem Kua">
    <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; I) [Netscape]">
    <title>PPI Reports</title>
    </head>
    <body>
    <applet codebase="./" code="ReportApplet" archive ="report.jar,elxrt.jar, ojdbc14.jar" width=780 height=480>
    <param name=mode value="appletviewer">
    <param name=dsmfile value="sav/ppi.sav">
    <param name=template value="templates/ppi.template">
    </applet>
    </body>
    </html>

    In contrast to what many people say in this forum, it is possible to have an unsigned applet access a database. You don't even have to manipulate the client's policy-file. The requirement is that the database is located on the same machine as the applet is downloaded from.There are however other things that can break this possibility. One is the database-driver itself.
    In the case of Oracle we have tried using different versions of the driver. When using version 8.1.7 or 9.0.1 things work nicely, but when switching to version 9.2 it stops working. There is a question on OTN [1]. Let's see what Oracle has to say about it.
    [1] Problem connecting using Oracle JDBC drivers

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • I need help in downloading and installing a previously purchased version of Photoshop Elements 12: AD012822594 1057-0247-4177-3303-6451-8067  or   1057-0904-6949-7119-8323-9165

    I need help in downloading and installing a previously purchased version of Photoshop Elements 12: AD012822594 1057-0247-4177-3303-6451-8067  or   1057-0904-6949-7119-8323-9165

    Please do not share serial numbers  or Order numbers on Forums . Serial numbers and order numbers  are very confidential.
    You can only share serial number with Adobe Customer support staff.

  • I need help in downloading and installing a previously purchased version of Photoshop Elements 12: Serial number removed by moderator

    I need help in downloading and installing a previously purchased version of Photoshop Elements 12: <Serial number removed by moderator>

    Hi There,
    Kindly try: Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
    Thanks,
    Atul Saini

  • Need Help in installations and connecting displays. Please!

    Hello Everyone,
    Need Help in installations and connecting displays. Please!
    Im planning on installing in a cafe shop : (Store Self improvement)
    4 TV's (can be  Built in Wi-Fi) Store menus
    2 touch screen tablets.  To be use as Emenu (digital Menu)
    1 60' TV ( Built in Wi-Fi) as Entrainment displays and in store advertising
    What do I need to organize my project and make it looks cool and how to manageand controll all of the displays TV.

    TNSTAAFL
    I DO NOT work for Best Buy, Geek Squad and any way affiliated with them. I am a self-employed repairman. I specialize in TV's and desktop computers. I do not take sides. If BB is wrong I will say so. If you are a moron with a false sense of entitlement, then I will tell you.

  • I need help from chile and use a language translator to write and not turn my iphone4

    I need help from chile and use a language translator to write and not turn my iphone4

    http://support.apple.com/kb/TS3281       
    Not turn on

  • Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for

    Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for assistance!

    That's going to be a ridiculous waste of money and energy.
    First of all, the current ATI drivers don't support multiple GPUs, so at the moment even a single 4870X2 would be only a 'normal' 4870 (which is quite a speed beast already). GFX drivers evolve rapidly, so things might look different next month, but when it comes to Linux and hardware there's one Golden Rule: stay away from the newest stuff and wait for proper support to get coded.
    I also wonder what power supply could possibly cope with the differences between idle and full load; that's way beyond 400W. But then, I'm one of those "quiet&green" types where >100W idle is already a bit much.
    I kind of understand that you want to get it done and not worry about hardware for the next 10 years or so, but that's simply not how the hardware world works and never did. At least not for the average consumer.

  • I am new to this but need help. Lion and iCloud have never worked on my desk top or MacBook Pro.  Slow or Stop!  Is there any way to fix the problem?

    I am new to this but need help. Lion and iCloud have never worked on my desk top or MacBook Pro.  Slow or Stop!  Is there any way to fix the problem?

    We need more information. I'm not sure what you mean by both Lion and iCloud have never worked.

  • HT1338 Need help locating where and how to update Mac OS-X 10.6.5 to the latest Mountain Lion Software...thanx John

    I need help locating where and how to update Mac OS-X to Mountain Lion.....Thanx....Jay

    First update your 10.6 version to 10.6.8 from the software update under the Apple Menu.
    This will add direct access to the Mac App store via a new application.
    Now launch the App Store from your Applications folder - Its the new icon a letter A formed from a ruler pencil and pen on a blue circle !
    Once launched you need to add your iTunes account details or create an account add payment details etc...
    Sign in purchase download and follow install processes to upgrade to 10.8 Mountain Lion.
    OH and to be safe BEFORE you install backup your current system to an external drive !

  • This is a second try to get help. I need help to uninstall and reinstall Photoshop cc 2014

    Bridge is not working well, I need to reinstall Photoshop cc 2014 .  Someone from Communities was suppose to help me. 

    Hi John,
    I used the chat "Creative chat support"  this afternoon at around 14:40
    and the person, Karthik M , gave me a link to Technical Support.  I
    guess he could not help me, but he said he understood the issue.   With
    the link "Help, Adobe Installation problems",   I will follow the
    instructions  to clean ps cc2014 with CCleaner and reinstall the app.  
    It looks quite complicated  but I will give it a try and hopefully succeed.
    You have to understand when reading my previous messages, the issue is
    no longer "Retreiving Photoshop CC" but reinstalling Phoshop 2014 to try
    to repair Bridge.
    Thanks for caring,
    Suzanne Lanthier
    Le 2014-08-13 15:50, John T Smith a écrit :
    >
          This is a second try to get help. I need help to uninstall and
          reinstall Photoshop cc 2014
    created by John T Smith <https://forums.adobe.com/people/JohnTSmith>
    in /Adobe Creative Cloud/ - View the full discussion
    <https://forums.adobe.com/message/6637788#6637788>

  • MOVED: [Athlon64] Need Help with X64 and Promise 20378

    This topic has been moved to Operating Systems.
    [Athlon64] Need Help with X64 and Promise 20378

    I'm moving this the the Administration Forum.  It seems more apporpiate there.

  • Need help for Update and cancel SalesOrder

    Hi All,
    I  written java code for create sales order based on salesquotation,now i want to update and cancel sales order ,i need help to update and cancel salesorder.
    can give any related links for update and cancel salesorder.
    Thanks and Regards,
    Srinivas

    Hi srinivas.L
    It is simple, here is some sample code. You must use getbykey to get the document. Then once you got it you can make whatever changes you need. Then update it. where i have oOrder.Update() you can have oOrder.cancel
    Dim oOrder As SAPbobsCOM.Documents
            oOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
            If oOrder.GetByKey(530) Then
                oOrder.Lines.SetCurrentLine(1)
                oOrder.Lines.WarehouseCode = "01"
                If oOrder.Update() <> 0 Then
                    MsgBox(oCompany.GetLastErrorDescription)
                End If
            Else
                MsgBox("Nothing found")
            End If
    Hope this helps

Maybe you are looking for

  • Memory and dual channel problems

    Hi Can someone help me? 1- I have 2x512 MB DDR 400 Twinmos CL 2.5 and amd xp 2600 (fsb 333) and Msi K7n2 delta L. I have tested separatly my sticks, one of them woks great, if i put dram clock at 166 or 200 the sytem is always stable. The other stick

  • Downgrade Mac OS X 10.4 and Quicktime 7?

    Hello, due to some 3rd party software, I have a system which needs a downgrade. Mac OS X 10.4.9 -> 10.4.8, Quicktime 7.1.5 (i think) -> 7.1.3. Is this possible? Any side effects? Due to the sheer amount of other software and documents on the hard dri

  • Free music

    I want to get the shuffle.  How do I get my Pandora music into my itunes library to play on a shuffle?

  • Adobe pack installer .msi didn't worked : the chosen products are not correctly deploy

    Hello, after build a .msi pack for the adobe product I choose to deploy, even with a simple lauch of the .msi on the computer, not all of adobe product are installed and some of them don't lunch correctly. for exemple Abode Acrobat Pro XI  doesn't ap

  • How do I change team member emails?

    How do I change a team member's email address only?