JSP doesn't display Oracle varchar2 Items on screen

I recently bought new laptop with windows XP professional with service pack 2. Loaded Oracle 10g Client on it. I have a Dell server with Linux and Oracle database 9i. Accessed the this database through new laptop using SQL plus window and works OK. (With that it is sure that my hosts file updated correct with proper IP address of server and tnsnames.ora files).
I have created a JSP application to access this database. It works perfectly OK in my old laptop with Windows XP home with service pack1. The connections are established through ODBC Data Source Administrator (Control Panel->Administrative Tools->Data Sources) by adding a System Data Source. The application works perfectly OK and displays all fields that I intended and coded for. Only thing is it has Oracle 9i client.
But the same application in the new laptop doesn't work properly. It doesn't display Varchar2 values. It displays only Number and Date data types. This shows it is connecting to the database (oracle 9i). But varchar2 values are not displayed. The connections are established through ODBC Data Source Administrator.
I'm using Tomcat server (jakart-tomcat-5.0.27) on both the laptop. Please help me here.

Suggestion: don't use the ODBC driver to connect to Oracle. I presume you are using sun's JDBC-ODBC bridge?
Oracle have got a reasonably good 100% java JDBC driver which is all you need, and is a lot better than the ODBC bridge. I would recommend using the Oracle thin driver.
Your java code should remain largely unchanged. The only thing you would need to alter would be
1 - driver class being loaded (oracle.jdbc.driver.OracleDriver)
2 - driver url (default would be something like: jdbc:oracle:thin:@127.0.0.1:1521:ORCL)
3 - You would need the oracle jdbc driver in the classpath (ojdbc14.jar) You can find that in [ORA_HOME]/jdbc/lib
If you've written your database connection using a JNDI datasource, then all you would need to change would be the configuration in your tomcat server.
Hope this helps,
evnafets

Similar Messages

  • The Error doesn't display file on the SAP screen

    Dear experts!
    Now, I'm getting some Issues about displaying file on SAP Screen use 2D Viewer or 3D Viewer.
    - The first, I Created document for WBS.
    - Second, I want to display the file on SAP screen. But the system opened it's by an application on client.
    How do I have to do?
    Help me, please!
    Best regards, Huy

    Hi,
    As I understood you attached a file to WBSE and that file
    is not showing in the project structure.In standard it doesn't show
    in the project structure. With DMS & CAD (2D,3D viewer) integartion it is possible to
    display the document in SAP screen.
    If my understanding is wrong you can elaborate your post and do revert.
    Regards,

  • Neo iOn-2 iPod  Vehicle Adapter doesn't display tune info on vehicle screen

    I recently bought a "Neo iOn-2 iPod to GM12" for my 2004 Chevy Avalanche. It plays GREAT thru the factory installed Bose system but does NOT display what's playing on the XM/Radio screen. I was told by the Mp3YourCar.Com people that they are awaiting an upgrade from Apple for the iPod classic (160GB). This adapter is supposed to work in TWO modes -- direct or advanced. Direct means the iPod wheel is disabled and only six playlists can be accessed/played. Information is displayed on the vehicle screen in this mode but remaining MANY tunes cannot be accessed.
    Advanced allows control via iPod wheel AND displays on vehicle screen same as on iPod. Plays beautifully but does not display on vehicle screen -- only on iPod.

    I'm STILL waiting from some sort of assistance on this. The mp3yourcar.com people said there is a known problem with the unit and iPod and Apple is supposedly working on a fix that should have been available as an update about a month ago. To date -- NOTHING!!!
    PLEASE! Doesn't anybody have any suggestions or ideas?

  • "In-page analytics" data doesn't display in Google Analytics "Content" screen since updating to Firefox 4. How can I fix this?

    This feature is supposed to show the number of times visitors to your website have clicked on the various pages. It requires some google code in each page (which I have). It worked in the previous version of Firefox and still works in the iExplore browser. It stopped working after the update to FF4.0. No error messages... it just does nothing.

    Thank you very much.
    I scanned my computer and see that it is not a virus problem. The problem lies with FoxNews.com not being compatible with the latest Flash Player or plug-in. I can view on-site videos from within Firefox on all sites except FoxNews. It is the only site that has a huge separating space in the middle of the front page. and that displays a large area of code words where it should have an ad: "clicksor_default_url = '';clicksor_banner_border = '#99CC33'; clicksor_banner_ad_bg = '#FFFFFF';clicksor_banner_link_color = "
    I ran the super bug-killer "ComboFix" (thinking the code was from the "Clicksor" virus) and was relieved to discover that it wasn't a virus.
    I can easily view videos on FoxNews from within Internet Explorer (and there is no "clicksor" code displayed in IE either). The problem lies somewhere within the Firefox version of Adobe's Flash Player /plug-in or FoxNews' incompatible code. Users are being kept up-to-date with the latest Adobe updates, but FoxNews must be using old software and needs to catch up. There must be a lot of people having this problem.

  • IPhone 4s (6.1) gets message or whatsapp message, vibrates but doesn't display new message notification on screen

    As per title really.
    Whenever i get a text or whatsapp message my phone vibrates (sometimes twice as if i have two messages) but nothing is displayed on screen.
    This is ever since updating to 6.1

    Hi,
    I tested with Outlook 2013 and Windows 7, once the new incoming message becomes read, the "new mail" envelope disappears as it should.
    Does this issue persist if you switch the view to others? I suggest we try to start Outlook with the switch "/cleanviews" to reset default view:
    Press Win + R, type "outlook.exe /cleanviews" in the blank box, press Enter. This method resolves issues related to the corrupted views, and we can check the result again after Outlook resets default view.
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Cover Art Doesn't Display for New CDs, Podcasts, etc.

    Cover art doesn't display for new items that I add to my 60GB iPod from iTunes. Older items are fine but new CDs, podcasts or songs purchased from iTunes don't display cover art on my iPod. The cover art is there when viewed in iTunes but just doesn't display when they are being played. The problem seems to have started about a month ago. Anyone experience something similar?

    Thanks for the suggestion but.... it actually made the problem worse. When I went to the music tab I found that the "Display Cover Art" check box was unchecked so I clicked in the box and the fun began. First thing that happened was the iTunes status box displayed "Deleting covert art from iPod" (definately not what I would have expected) for about a minute then it changed to "Optimizing cover art on your iPod" (that seemed like a step in the right direction) but then I got an error message saying "Can't sync iPod. Unknow error". Closing out the error message ended the process. I was able to eject my iPod after that without any issues but now even more covert art doesn't display (even though when viewed through iTunes its there).

  • (ipod 30Gig) doesn't display the song that is playing on the ipod screen

    Every time I click on the song I want to listen to, the screen slides over and the new screen is blank. The song plays but the song that is "now playing" doesn't display any information on the screen at all. It is totally blank. Has anyone ever heard of this happening. I don't want to reset my ipod for such a small problem because I've erased a lot of the music I have on itunes. At the same time it is annoying to not see the song name/length/volume or album art.
    Birdstuff

    Welcome to Apple Discussions
    I actually had this happen once and a reset worked. I think you are confused by what a reset is. A reset is when you press and hold the Menu and Select button for at least 6 seconds or until the Apple Logo apears; this does not erase music on your iPod. A restore is when you use the iPod updater to erase all of the files on your iPod and put it in the original Factory settings.

  • "Recent items" doesn't display servers

    "Recent items" shows applications and documents - but doesn't display servers. In System Preferences Appearance I have display 10 items set for them all. I tried trashing com.apple.recentitems.plist - but it hasn't helped.
    It used to show everything correctly - but after I cleared the menu - the "servers" bit stopped working.
    Eòin
    PB G4, iPod, 7300 PMac, AE   Mac OS X (10.4.9)  

    Hi John,
    First of all, you have connected to a server(s) since you cleared the menu? If that's the case, I believe that "Recent Items" is a function of Finder so try this:
    Navigate to ~(yourHome)/Library/Preferences and trash these two files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then log out and back in again. Or restart.
    (You will have to reset a few finder prefs the way you like them.)
    Let us know.
    -mj
    [email protected]

  • Genius Mix item doesn't display in sidebar

    On both my Macs - a Mac mini and a MacBook Air - the Genius Mix item does not display in the sidebar. I've tried turing off and on Genius, updating it, etc, and nothing works.
    This did work when the feature was first released, and I turned it off after a while. It's odd that it simply doesn't display, even though the Genius feature itself works fine (within the limits of the music it recognizes).
    Any ideas on how to get it to display?

    click here and follow the instructions.
    JGG

  • Verify_function doesn't display the error messge in oracle forms

    We are planning to use the verify_function to validate the password when user password is expires.
    The users are using Forms 6i on web.
    When I set the profile to user verify_fucntion and then try to change the password with the default password change window , it doesn't display the error message if the crieteria doesn't match. Instead it just clears the screen. So the user doesn't get any idea what's going on.
    has anybody seen this. We are trying to utilize the default password change functionality instead of coding our own.....in forms
    Thanks,
    Dj

    It can be that the spry:content does not support the function::<syntax> or that your impelementation is wrong. You can try this:
    spry:content="function::FormatDate"
    Like you would implement the function statement in the spry:if statements.
    If that doesn't do the trick you need to modify the SpryData.js if you need this kind of support.

  • Portal Favoriate doesn't display items

    Hi.
    I used "Add to Portal Favoriate" function for adding iview into Portal Favoriate but Portal Favoriate displayed blank.
    So, I pressed "Open in new windows" and I got new windows with iview entry.
    Why Portal Favoriate doesn't display iview entry in spite of having iview entry ?
    Is there any config for that ?
    Regards, Arnold.

    Hi Arnold,
    is the state of the Portal Favorites iView "Open" or "Closed" (see button next to the iView options)? If the iView is closed you don't see any entries.
    Regards, Roland

  • Linebreaks in Display as Text items

    See http://htmldb.oracle.com/pls/otn/f?p=24317:14:::::P14_PK:3061
    The same item (CLOB) is displayed as a editable textarea and as a Display as Text item.
    The Display as Text item type eats up all the linebreaks in the data since it is rendering HTML markup where whitespace, linebreaks are irrelevant.
    How can I preserve the line breaks in the Display as Text item?
    I guess I can wrap it in a PRE tag but that would change the font, I would like to keep the same font just preserve the linebreaks and whitespace.
    Thanks

    Hi,
    I have a Page Item P7_LAST_ACTION
    Display as: Display as Text (saves state)
    Source Type:
    Database Column
    Source value or expression
    LAST_ACTION
    Post Calculation Computation
    replace(:P7_LAST_ACTION,chr(10),'<BR>');
    But it doesn't replace.
    I have the same info in ACTION db column in a query
    select "ACTION_ID",
    replace(ACTION,chr(10),'<BR>') Task,
    "DESCRIPTION",
    from BH_ACTIONS
    It displays fine...
    (with newlines, blank lines - <BR><BR>)
    Both column types are the same:
    ACTION VARCHAR2(2000)
    LAST_ACTION VARCHAR2(2000)
    any ideas? Bill

  • Some browser doesn't display the MW page correctly

    after installing Maintenance Wizard 2.17, some browser doesn't display the MW page correctly, some menu function is missing. The display problem is not for everyone, some user's browser have no problem. Some user's IE are displaying it correctly. i.e. one user has both IE and firefox working, however, after she clear her java cache, both browser refuses to display the MW page correctly.
    The resolution of PCs is set to the same value. however, the size of the text isn't. after changing the size of the text, some of our pc start to work. The display web page for MW doesn't show the right most menu item. After resize the screen, we find it is because of the blue frame for the MW page that stop to dynamical stretch up to 20 inches.
    The menu item is been streched out of the blue frame, they are no longer displayable
    any ideas?

    We have the same problem.
    And find it is caused by a combination of your screen resolution, font size and browser window size.
    The blue frame that displays the Oracle Mainentance Wizard banner doesnt dynamical strech to the full window size.
    After experiment with it, MW can display much better in our case.

  • How can I display de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

Maybe you are looking for