Problems displaying characters on the terminal

This screenshot shows my problem.
When i type anything in the console, it starts doing this funny efect... and, of course, is a bit confusing since somethimes you cannot see what you are typing.
Video card is a nvidia one: Compiz fusion activated and free drivers installed (same issues happened to me with the propietary ones)
Any ideas on how to fix it?

Try --indirect-rendering and/or --loose-binding for compiz. I'm not too sure if these are the exact names of the options but it should be something alike.
Last edited by kowalski (2009-08-25 08:44:18)

Similar Messages

  • Problem displaying characters from pdf file in Preview.app

    Hi,
    I hope someone can help with this problem.
    I have some issues with the display of pdf files on OSX. The problems are with ligatures like 'fl' which Preview.app displays incorrectly as 'oeu'. There are other symbols which Preview also displays incorrectly.
    This problem is not affected by cleaning the font cache and as far as I can tell all the fonts are present and correct. I am guessing the problem has something to do with Preview finding a different version of the Times or TimesRoman font than Adobe Reader uses, and so it gets the wrong symbol, but I'm not sure.
    How can I ensure that Preview uses the same fonts as Adobe Reader? and how can I get Preview to render my pdf's correctly?
    Here is a sample of the problem with Preview.app (4.1):
    !http://farm4.static.flickr.com/3456/33599073294296beb1a8m.jpg!
    and with Adobe Reader (9.0.0)- correctly rendered:
    !http://farm4.static.flickr.com/3448/335990717548aa12e576m.jpg!

    My computer automatically open PDF inside the Safari
    window, but I wish it would go back to opening it
    externally via Adobe. (maybe we should trade
    computers:-)
    Anyway, we have the same question.
    How do we control whether PDF launches internal to
    Safari, or external in Adobe?
    This is what I would like to as well. I often have a lot of pdf files I need to open and then save to my hard drive. When I click on a pdf file on a website Safari opens it and then I need to right click in the document to open it with Adobe. How can I get it to open in Adobe the first time without having to right click after it opens in Safari?
    Thanks!

  • Displaying characters on the Web

    Hi All,
    I have this script that brings data from a DB.
    <?php
    $conn = oci_connect('my_user', 'my_pwd', 'my_db');
    $stid = oci_parse($conn, 'select arabic_name from emp where id = 1');
    oci_execute($stid);
    echo "<table>\n";
    while (($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) != false) {
    echo "<tr>\n";
    foreach ($row as $item) {
    echo " <td>".($item !== null ? htmlentities($item, ENT_QUOTES) : " ")."</td>\n";
    echo "</tr>\n";
    echo "</table>\n";
    echo "ãÍãÏ Ããíä";
    ?>
    The output is :
    <table>
    <tr>
    <td>&atilde;&Iacute;&atilde;&Iuml; &Atilde;&atilde;&iacute;&auml;</td>
    </tr>
    </table>
    ãÍãÏ Ããíä
    The problem is that "ãÍãÏ Ããíä" is completly equivalent to "&atilde;&Iacute;&atilde;&Iuml; &Atilde;&atilde;&iacute;&auml;".
    It seems like PHP is interpreting the data from my_db.
    How can I redirect PHP behavior so it brings "ã" rather then "&atilde;" and "Í" rather then "&Iacute;", ...
    So my desired out put is :
    <table>
    <tr>
    <td>ãÍãÏ Ããíä</td>
    </tr>
    </table>
    ãÍãÏ Ããíä
    Thank you in advance

    Start by using another tool such as SQL*Plus to check that the data is correctly stored in the DB.
    Then review the globalization section of the 2-Day PHP manual: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10811/ch_eight.htm#sthref690
    Make sure NLS_LANG is set in the shell that starts the webserver. Do not set it in the .php file.

  • Problem with characters of the forms

    I have installed an IAS 10.1.2.0.2 (forms, reports and discoverer components) in a solaris 10 SPARC machine IASDB character set:
    AMERICAN_AMERICA.EL8ISO8859P7.
    I've imported some .fmb forms from windows platform and recompiled to make them .fmx.
    Though the re-compilation is successful the greek characters are shown ???? like that (these are not characters taken from the DB but labels in the forms).
    My .cshrc file has the following values:
    #ident "@(#)local.cshrc 1.2 00/05/01 SMI"
    umask 022
    set path=(/bin /usr/bin /usr/sbin /usr/ccs/bin /usr/ucb /etc .)
    if ( $?prompt ) then
    set history=96
    set prompt="`whoami`@`hostname`: "
    set filec
    endif
    setenv TEMP /tmp
    setenv TMPDIR /tmp
    setenv EDITOR vi
    setenv ORACLE_SID IASDB
    setenv ORACLE_HOME /oracle/OraHome_2
    setenv FORMS_HOME /oracle/OraHome_2/forms
    setenv PATH $ORACLE_HOME/bin:$FORMS_HOME/fmx:/usr/local/bin:/usr/openwin/bin:/opt/Adobe/Reader8/bin:/usr/sbin:/opt/sfw/bin:${PATH}:/sbin
    setenv NLS_LANG AMERICAN_AMERICA.EL8ISO8859P7
    alias h history
    alias s sync
    I've changed my locale setting to: LANG=el_GR.ISO8859-7
    also i have in my envFile entered NLS_LANG=AMERICAN_AMERICA.EL8ISO8859P7
    and finally in frmcmp_batch.sh have set:
    NLS_LANG=AMERICAN_AMERICA.EL8ISO8859P7
    export NLS_LANG
    I still get the ???? characters instead of greek fonts.
    can anyone help, this is urgent.
    Thank you

    When translating your form MAKE SURE YOU LOGIN TO SAP WITH THE TARGET LANAGUAGE FOR TRANSLATION!
    For example, if you have an english form and want to translate it to spanish, login in spanish, go to SFP and do your translation to spanish. It should have a pop-up shown that says "original language" is English....keep it as that.
    Not sure why it works this way, but it does. I would love to be able to login in English and then simply do all my other translations from there, but it doesn't work that way.

  • Problem displaying images from the content manager

    I am displaying an html page from a <cm:select> but the images do not display.
    I have set up the dmsbase directory as per the samplePortal, and loaded the content.
    The HTML displays, but with errors for the images.
    Here's the select from the portlet:
    <cm:select contentHome="<%=ContentHelper.DEF_CONTENT_MANAGER_HOME%>"
    query="type='page'"
    id="textDocs"/>
    <es:forEachInArray array="<%=textDocs%>" id="aTextDoc" type="com.bea.p13n.content.Content">
    <p><cm:printDoc id="aTextDoc" failOnError="true" /></p>
    </es:forEachInArray>

    OK, I found Greg's reply and that fixed it, once I played with it a bit.
    "Cory McGinnis" <[email protected]> wrote:
    >
    I am displaying an html page from a <cm:select> but the images do not
    display.
    I have set up the dmsbase directory as per the samplePortal, and loaded
    the content.
    The HTML displays, but with errors for the images.
    Here's the select from the portlet:
    <cm:select contentHome="<%=ContentHelper.DEF_CONTENT_MANAGER_HOME%>"
    query="type='page'"
    id="textDocs"/>
    <es:forEachInArray array="<%=textDocs%>" id="aTextDoc" type="com.bea.p13n.content.Content">
    <p><cm:printDoc id="aTextDoc" failOnError="true" /></p>
    </es:forEachInArray>

  • Problem Displaying Unicode at the console

    Hello,
    What do I need to do to print out a unicode charecter which is of some other language for example ( telugu,an indian language).
    I had found out that the unicode range for telugu is 0C00 to 0C7F.
    I had tried doing char c = '\u0C10';
              System.out.println(c);
    But I could only see that a '?' symbol is being printed to the console.
    Could some one suggest an alternate or what is wrong with what I'm doing?
    Thanks in advance.

    I can install my local language font, but would it be
    helping things out?I told you, I have Japanese installed, and it didn't help me. Joni offered you a suggestion or two. Did you try them?
    because I think the unicode chraecter set relies on
    local OS! But I'm not sure.I don't know how much it depends on the OS, but it definitely depends on the capabilities of the program running. MS Word supports unicode, but that doesn't mean all Windows programs do.
    Why does'nt Windows XP Support Unicode at command
    prompt?Because cmd.exe is a very old program and probably the folks at M$ figured the way it's used it doesn't need to support unicode.
    Why do you need unicode in your command prompt?

  • Problem displaying foreign characters in application

    Hi,
    Apologies in advance if this is the wrong forum for this question.
    In my java application I have to allow the user to enter text which can contain "foreign" characters e.g. ø and è. I based the following code on a snippet I found on the web:
    String nameContainingStrangeCharacters= new String(inputObject.getFullName().getBytes(), "UTF-8");
    If I simply set this String back onto an object and display it on the front-end via JSP, then everything works fine on my local (Windows) build. I should add that I have the following line in my "output" JSP:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    The problem is when I deploy my app to a Unix server. If if I input the same string and try to redisplay it, the "foreign" characters are now replaced by question marks.
    So if In type in the name Stig Inge Bjørnebyè, this appears as
    Stig Inge Bjørnebyè
    on my "output" screen in Windows, but as
    Stig Inge Bj?rneby?
    in Unix.
    I have absolutely no idea why this is happening? Can anyone help?

    Did you read [url http://download.oracle.com/javase/6/docs/api/java/lang/String.html#getBytes%28%29]String.getBytes() ?
    Use String.getBytes(String charsetName) or getBytes(Charset charset)
    or CharsetEncoder.
    It works on your Windows box because of what the platform's default charset happens to be.
    But you should not getBytes() using some arbitrary (non-UTF-8) encoding and then make a String pretending your bytes contain UTF-8.
    Unless the String returned by inputObject.getFullName() is the munged result of using the wrong encoding and you are trying to un-mung it.

  • Display both Arabic & English characters in the same BO report or not

    Hi
    Can  we display both Arabic & English characters in the same BO report or not?
    if yes what will be the character settings/changes required.
    thanks and regards
    thomas
    Edited by: yeldhot on Aug 23, 2010 4:04 PM

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • Problems displaying russian characters in Adobe Reader

    Good afternoon.
    There is a file pdf, received from the customer. Most of it contains Russian letters. As a result, the latest version of Adobe Reader in Windows Vista and Mac OS (10.5.8 and 10.8.2), these characters do not display properly.
    In Windows XP, 7 and 8 display problems are observed.
    Ironically, Windows Vista and Mac OS that file correctly displays the program Foxit Reader and NeoOffice. MacOS also tried to open the file, adobe acrobat, but it is also not display the characters of the Russian alphabet. In what could be the problem?
    Properties problem file:
    Here is the Fonts tab in Mac OS:

    I can't set the default encoding for non-Unicode programs on Mac. https://discussions.apple.com/thread/2134043?start=0&tstart=0 This must be done directly in the Reader.
    Just don't understand what to change

  • Problems displaying unicode encodeded characters in components

    I'm having problems getting Flash to display unicode that is
    imported from XML. In the example below the unicode characters in
    the name tag come through in Flash exactly as typed eg: \u00EA
    The xml file is written by PHP.
    <?xml version="1.0"?>
    <!-- Generated On: Sep-11-2007 12:24:19
    --><Colortool><Siding><item><type>c</type><id>11</id><name>Rev\u00EAtement
    Sp\u00E9cial</name>
    etc..
    However I've also tried re-saving the file manually in an
    editor encoded as UTF-8. Same result.
    Setting up a little test like:
    temp = "Rev\u00EAtement de premi\u00E8re qualit\u00E9";
    trace ("temp: " + temp);
    Traces: Revêtement de première qualité as
    expected.
    Any ideas why it works when the variable is set in Flash, but
    not when it's loaded from XML?
    Thanks,
    Anson

    By experimenting and some searching through the net I figured out that you need to set the right font. Kannada can be displayed using Tunga font on windows. But neither HTMLEditor nor TextArea has a setFont() method. Instead I tried with Text.
    text.setFont(Font.font("Tunga", 25.0));
    This worked partially. For example, if I try printing the character 'ಲಿ' its two component characters 'ಲ ಿ' are getting printed. They are not joining to form one single character 'ಲಿ'. Kannada like other Indic scripts is a complex layout script and I figured out from this post that complex layouts are not yet supported.
    Re: Urdu language support in Javafx UI Controls
    Unfortunately I cant use javafx for my purpose :-((

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • Problem displaying chinese characters

    I have got the problem with displaying chinese characters in the webpage after fetching the data from database.
    I am using Oracle IAS webserver and oracle 8i as the database which is in UTF-8 characterset.I am getting the out put in the chinese if I use this code.
    String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");
    I am getting the out put using this code in this format
    ��������
    &#27604;&#20998;&#21345;&#29255; basically this code does that.(String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");)
    But some body told me that I have to do some settings in the server.I am using oracel IAS.Can you suggest me any thing?.
    Here is my full code
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <%@ page import="java.nio.charset.Charset,java.util.Locale,org.apache.struts.action.*,java.io.*,javax.naming.Context,java.sql.Connection,javax.sql.DataSource,javax.naming.InitialContext,java.sql.*" %>
    <HTML><HEAD><TITLE>Welcome to METRO</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Encoding" content="UTF-8"/>
    </HEAD>
    <BODY >
    <style type="text/css">
    .tb {      
    border: 1px solid #ddd;
    border-collapse: collapse;
    font-family:arial ,sans-serif;
    font-size: small;
    height:100%;
    width:100%;
    color:#00000000;
    </STYLE>
    <%
    String value="";
    try{
    Connection dbConn;
    Statement stmt=null;
    Context jndiCtx=new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource)jndiCtx.lookup( "jdbc/webdbPooledDS" );
    dbConn= ds.getConnection();
    stmt=dbConn.createStatement();
    String sql="select prog_name_LL2 from test_table where table_name='test'";
    ResultSet rs = stmt.executeQuery(sql);
    if( rs.next()){                    
    value=rs.getString(1);
    System.out.println("value="+value);
    out.println("<table class='tb'><tr><td>"+value+"</font><br>");
    String value1 = new String(value.getBytes("ISO8859_1"), "GB2312");
    out.println(""+value1+"</td></tr></table>");
    rs.close();
    stmt.close();
    dbConn.close();
    }catch(Exception e){
    System.out.println("Exception ="+e.getMessage());
    %>
    </BODY></HTML>

    Follow the steps as listed below:
    1. Is the Font available on Printer
               Goto SP01 transaction -> Enter the Spool Number -> Execute
    2. Does device type/Spool Server support the font
               Goto Transaction SPAD and click Output Devices
    3. SAP level Multibyte setting in place
               Click ALT + F12
               Select Options -> I18N
               Tick Activate Multibyte functionality
    4. Is appropriate font for the language used
              For Simplified Chinese (ZH)  language use font  CNHEI, CNKAI, CNSONG
    SAP Notes related to Fonts
    a.0000776507 SAPscript/SmartForms: Which fonts for which languages?
    b.0000323736 Restrictions with "PDF print" through spooler
    c.0000317851 Creating PDF format using the SAP spooler in 4.6C/4.6B/4.5B
    d.0000012462 How can I define a new printer font?
    e.Note 62178 Device types for the Japanese version of the R/3 System

  • Correct display of characters in the Browser - Pls Help - Urgent

    Hi,
    We have a java application running on solaris 8 connected to oracle 8.1.6 database. The database characterset has been changed to WE8ISO8859P15 to support Western European Characters and the Euro symbol.
    The problem we are facing is, when the euro symbol (Alt + 0128) is entered thru the HTML form and then retrieved from the database and again displayed on the HTML form, it shows as inverted question mark or some other character.
    If any one can tell us exactly the steps to follow overcome this problem, it would be of great help. What settings have to be changed in the webserver, database and the client side so that there is proper data conversion.
    Immediate response is apprecited.
    Thanks

    Couple of samples to try:
    1)
    <%@ page contentType="text/html;charset=ISO-8859-15" %>
    <HTML>
    <HEAD>
    <TITLE>Hello</TITLE></HEAD>
    <BODY>
    <%
    String charset = response.getCharacterEncoding();
    %>
    <BR> encoding = <%= charset %> <BR>
    <%
    String nameValue = request.getParameter("euro");
    String euroVal = "\u20ac";
    if (nameValue == null || nameValue.length() == 0) { %>
    <FORM METHOD="GET">
    Please input your name: <INPUT TYPE="TEXT" NAME="euro" value="<%=euroVal%>" size=20> <BR>
    <INPUT TYPE="SUBMIT">
    </FORM>
    <% }
    else
    nameValue= new String(nameValue.getBytes("ISO8859_1"), charset); %>
    <H1> Hello, <%= nameValue %> </H1>
    <%
    //insert nameValue into database
    %>
    </BODY>
    </HTML>
    2)
    <%@ page contentType="text/html;charset=ISO-8859-15" %>
    <HTML>
    <HEAD>
    <TITLE>Hello</TITLE></HEAD>
    <BODY>
    <%
    String charset = response.getCharacterEncoding();
    request.setCharacterEncoding(charset);
    %>
    <BR> encoding = <%= charset %> <BR>
    <%
    String nameValue = request.getParameter("euro");
    String euroVal = "\u20ac";
    if (nameValue == null || nameValue.length() == 0) { %>
    <FORM METHOD="GET">
    Please input your name: <INPUT TYPE="TEXT" NAME="euro" value="<%=euroVal%>" size=20> <BR>
    <INPUT TYPE="SUBMIT">
    </FORM>
    <% }
    else
    %>
    <H1> Hello, <%= nameValue %> </H1>
    <%
    //insert nameValue into database
    %>
    </BODY>
    </HTML>We have tired your code and here are the answers to your questions:
    1. Does the euro example work in your environment?No it is not working.we could not run the second example because'
    we don't have a "request.setCharacterEncoding(charset)" method.
    we are using servlet 2.2 api
    2. Is the HTML form a JSP/Servlet or a HTML calling CGI?we are having HTML/JSP form calling a servlet.
    the results and forms are always JSP.
    3. Try using a HTTP GET in the form and observe the URL on
    the browser. Does it show the parameter as:
    http://host:port/euro01.jsp?euro=%A4
    Euro symbol's code point is A4 in ISO-8859-15. We'd like to make
    sure it is not corrupted when it is sent to the server.your previous example shows it as %A4 but it is not inserting correctly
    in the database.The ascii value of the inserted value is 191 but we guess the correct
    ascii value is 164.
    4. After insertion, check the value on the database server.
    Assume you insert the data in the following table:
    create table tab01 (col01 varchar2(100));
    You can query the euro code point:
    select dump(col01, 16) from tab01;
    Check to see if the value shows A4.the result we have is Typ=1 Len=1: bf
    5. Please be aware that the example above is for varchar/char
    column. You mentioned uploading blob content into database. Is
    it a separate issue? Or do you just request a blob example?Actually blobs are not a problem. What we actually meant is that we are uploading some blob content into the database for which we have to use com.oreilly.servlet.MultipartRequest. But inserting euro symbol becomes a problem when we use this. If we use without multipart request we are able to insert euro but will not be able to upload blob. Blob content is not related to euro.
    6. If problem still persists, I suggest that you send us a simple
    program of yours that include the HTML/JSP and your schema
    (SQL). Here is the program we are using to test.
    <html>
    <HEAD>
    <title>Charset Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
    </head>
    <body>
    <form name='f' action="CharsetTestJSP.jsp" method=post enctype="multipart/form-data">
    <input type=text name="TestValueMpr">
    <input type=submit value="Submit for MultipartRequest">
    </form>
    <form name='forn' action="CharsetTestReqJSP.jsp" method=post >
    <input type=text name="TestValueReq">
    <input type=submit value="Submit for OrdinaryRequest">
    </form>
    </body>
    </html>
    this is the html file with two forms , one with multipart request and the other without it. When used the form without multipart request, inserting euro into the db, stores it correctly and displays it correctly when retrieved. The html form calls 2 jsp files which are as follows:
    CharsetTestReqJSP.jsp
    <%@ page contentType="text/html; charset=ISO-8859-15" %>
    <%@ page import="com.interactive1.kf.Config,java.sql.*"%>
    <%
              //response.setContentType("text/html");
    //response.setHeader("Content-Type", "text/html; charset=ISO-8859-15");
    //java.io.PrintWriter out = response.getWriter();
    String test = "test";
    String testFromForm = request.getParameter("TestValueReq");
    * Here instaed of the test value we are
    * inserting what is coming from the form
    Connection con = null;
    try {
    con = Config.getInstance().getConnection();
    StringBuffer sql = new StringBuffer("INSERT INTO x_temp VALUES (?)");
    PreparedStatement pstmt = con.prepareStatement(sql.toString());
    pstmt.setString(1,testFromForm);
    pstmt.executeUpdate();
    pstmt.close();
    pstmt = con.prepareStatement("SELECT * FROM x_temp");
    ResultSet rst = pstmt.executeQuery();
    while(rst.next()) {
    out.println(rst.getString("text"));
    rst.close();
    pstmt.close();
    } catch (SQLException se) {
    out.println("problem sql exception : " + se.getMessage());
    } finally {
    if (con!=null) {
    try {
    con.close();
    } catch (SQLException se) {
    se.printStackTrace();
    out.println(response.getCharacterEncoding());
    out.println("");
    System.out.println("");
    %>
    CharsetTestJSP.jsp
    <%@ page contentType="text/html; charset=ISO-8859-15" %>
    <%@ page import="com.interactive1.kf.Config,java.sql.*,com.oreilly.servlet.MultipartRequest"%>
    <%
    System.out.println("request="+request.getParameter("TestValueMpr"));
    MultipartRequest mpr = new MultipartRequest(request,5*1024*1024);
    System.out.println("mpr="+mpr);
              //response.setContentType("text/html");
    //response.setHeader("Content-Type", "text/html; charset=ISO-8859-15");
    //java.io.PrintWriter out = response.getWriter();
    String test = "test";
    String testFromForm = mpr.getParameter("TestValueMpr");
    * Here instaed of the test value we are
    * inserting what is coming from the form
    Connection con = null;
    try {
    con = Config.getInstance().getConnection();
    StringBuffer sql = new StringBuffer("INSERT INTO x_temp VALUES (?)");
    PreparedStatement pstmt = con.prepareStatement(sql.toString());
    pstmt.setString(1,testFromForm);
    pstmt.executeUpdate();
    pstmt.close();
    pstmt = con.prepareStatement("SELECT * FROM x_temp");
    ResultSet rst = pstmt.executeQuery();
    while(rst.next()) {
    out.println(rst.getString("text"));
    rst.close();
    pstmt.close();
    } catch (SQLException se) {
    out.println("problem sql exception : " + se.getMessage());
    } finally {
    if (con!=null) {
    try {
    con.close();
    } catch (SQLException se) {
    se.printStackTrace();
    out.println(response.getCharacterEncoding());
    out.println("");
    System.out.println("");
    %>
    I hope this will help you to suggest a remedy for our problem.
    Thanks

  • Hey, I'm fixing up a Power Mac G5 for a friend, he gave me a Cinema HD 30' display to use with it. My problem is, the Power Mac G5 doesn't have a place where I can plug in one of the display's cords. the cord is called a "DC power (24.5 V)"

    So the Cinema HD's DVI goes in fine, I don't remember what video card is in the computer, all I know is it's Nvideo, it's old, only like 256MB, but does have two DVI ports. Anyway, then the display's firewire and USB can go in. But there's this weird thing, had to do some research to figure out what the connector/cord is called. it's the size of a USB, rectangular with oval sides. It's called a "DC power (24.5 V)" I'm like, what the heck is this thing? it won't go into the computer anywhere, I'm assuming I need some sort of adapter?? Help please, if I need an adapter or video card, links would be extremely helpful.
    Best regards,
    Poly

    I don't believe so, I have a DVI to ADC adapter I was messing with, my DVI from the display plugs into the adapter, then i grap the adapter's ADC connector, and it does not go into my Power mac G5's video card. So that confirms that the display is DVI, and works with my DVI video card perfectly. It's just the one wire/connector that apple calls the "DC power (24.5 V)" that won't go in anywhere. Basically the display has a DVI connector, firewire connector, and USB, which all go into my Power mac G5 fine. However, it has another wire with a connector that won't go in anywhere, from what I've read off the teach specs of my Cinema HD 30' that final connector/wire is listed as "DC power (24.5 V)"
    So my problem is with that. I have NO idea what it does, or goes into. When I google "DC power (24.5 V) Apple" it comes up with weird images none of which have that connector. So I'm just so. Confused.

  • Error :Display document : Update was terminated.While displaying the PO

    Hi All,
    I am creating a PO with respect to contract in SAP 4.6C system using ME21.PO is getting created successfully.But when I want to display the same in ME23 it giving me a message 'Display document : Update was terminated'.( an express message is getting generated to view in SBWP transaction code ).
    I went through some of SDN forums and checked the tcode SM13 to resolve the issue .I found that there is no ABAP dump got generated for the same .
    Please help me to resolve the issue ..
    Regards,
    Praveen GB.

    Hi Lakshman.
    I did that, systesm is showing below  error :
       1      ME_CREATE_DOCUMENT              V1 NORMAL         Err
    when click on that ,I got one more window with an option to check ABAP dump,But there is no ABAP dump exists for the same.
    I cheked in ST22 also there is no DUMP available for the above issue.
    Please let me know how to crack this issue.
    Regards.,
    Praveen GB

Maybe you are looking for

  • I am using the MODBUS library and can't receive data, however I can send it just fine?

    Hi, I am using the Modbus Library to communicate with a VFD to control a fan. I am using the master write and read vi. I can write data to the VFD and get the fan to do what I want. The VFD is supposed to send a confirmation packet after I tell it to

  • Customize columns in "save as..." dialog?

    In the finder, you can customize the columns that show up in list view (e.g. size, type, etc). However, if you make those changes they are not reflected in the "open" or "save as..." dialog from within an application (I checked in firefox or safari o

  • Disabling mouse events

    hi, I am having objects on a JFrame that respond to mouse events. I would like to know how I can disable these events. I use the addMouseListener to register a mouse event on something. Is there a way to remove or to deregister mouse events. I basica

  • Doubt in restricting table field value

    Hi, I Want to restrict one field in my table to have only predefined values. ie, I have a field named Status which can have only 2 values either 'Present' or 'Absent'. How to make this constraint enforced in the table ? Suggestions & ideas are very m

  • Procedure Error (oracle 10.2.0.3.0)

    Hi All, I have created a procedure. but it's giving error while executin .please look into this. create or replace PROCEDURE PR_LOAD_SMS   IS   BEGIN      EXECUTE IMMEDIATE 'TRUNCATE TABLE DSS.FORT_HZM';      EXECUTE IMMEDIATE '      INSERT INTO DSS.