JSP/Servlets: Extra Characters appear randomly.

One of the major problems that we are having with our JSPs and Servlets is these extra characters (probably in hexa format and probably equal to the content length of the output) keep appearing at random. If the output is small then you see these characters just once - at the top, but if the output is long (like the result of a query being displayed within an html table), these characters appear randomly anywhere in between the generated output and break the html.
If the same resource is accessed via the Database listener http endpoint then this problem does not occur - i.e. when you bypass Apache.
Can anyone help?
Thanks in advance.
Ashish.

one more thing...the code runs properly on localhost... i tested it on my pc n it was fine..both in firefox and IE...
i guess there is a specific syntax i need to follow (strict syntax) but i dunno what it is...:(

Similar Messages

  • Extra characters appearing in Stickies and TextEdit

    Having a problem with the design computer at work. Font issues all over the place. For instance, I'm trying to type into this field, and my cursor isn't exactly lined up with the text... so I don't really know where I am . It's inserting extra characters and spaces into the text field. This is happening on Stickies and TextEdit... and not anywhere else... not with Mozilla Thunderbird or MS Word. Weird.. Also the font is very light... as If I'm missing a core font.. which is possible because I used FontExplorer X (from LynoType) to clear the font cache and remove fonts from the system folder than weren't installed by Apple. I t may have screwed up the font folder... I might need to reinstall fonts, but I don't want to reinstall the system if I can avoid it. Any suggestions?
    Dual 2GHz PowerPC G5   Mac OS X (10.4.9)  

    Hi wlp165,
    Try printing the Word Doc to Adobe PDF printer and then check the issue.
    Or would it be possible for you to share the document.
    I sent you private message for sharing the document.
    Regards,
    Anoop

  • Extra characters appearing when using VISA

    Hi, I am new to labview and have a problem I've been working on for a few days. I am reading masses printed from a scale hooked up by a RS-232 to USB connection, with the ultimate goal of recording mass vs. time. Currently random letters appear in the mass at various times and cause the waveform chart to drop to zero, Looking at the signal using another program I am getting a constant  mass reading. Searching the forums I have not been able to find a way around this problem. Any help would be . I attached my current program to the bottom to better explain my predicament. 
    Solved!
    Go to Solution.
    Attachments:
    Mass.jpg ‏211 KB

    1. Use a proper Stop button.
    2. Set the loop's termination condition to be Stop When True.
    3. Do not use the Run Continuously.  What you are doing here is constantly reinitializing the serial port, which is likely causing data to be missing and giving you your weird results.
    4. Close you port after the loop.
    5. There is no need at all for that property node.  You can define what the termination character is with the Configure Serial Port.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • [PART SOLVED] Random j, k characters appearing on lines. A vim issue?

    Hi There,
    I recently noticed that when scrolling around a file using the keys j and k in normal mode that random j and k characters appear at the end of lines. Initially I thought this was a terminal issue so I switched terminals, no luck. I removed all erroneous crap from .vim, no luck. I have googled around a bit, and it appears this is a known issue with jslint, but this is occuring with no plugins. Ctrl-l removes the random characters, and they don't appear to be getting written to the file, but it is annoying non the less.
    Any thoughts?
    Thanks.
    Last edited by ZombieX (2012-05-25 12:36:50)

    Thanks for the reply. In my case, it appears more frequent when you scroll back and forth over pages using j and k. I haven't noticed anything with the 'O' command but I will keep an I out. I haven't been able to find the root cause of this, nor have I found any 'real' fixes so I either deal with it or use emacs with VIM bindings. I'll consider this closed.

  • Random wrong characters appear when typing in Firefox--why?

    While typing in Firefox, random wrong characters appear (e.g. I type "i" and "n" appears). If I go back and retype it, the same wrong character may appear two or three times, then the correct character appears. This happens while using gmail, but also, for example, when entering search terms into Yahoo. It does not happen while using other browsers such as Chrome, and it does not happen using other applications.

    the wrong type characters kept appearing--I
    would type the letter i and a 5 would appear instead.
    This would indicate you have activated the feature which turns the right side of the keyboard into a numerical keypad. It might be Fn-F6 that controls this -- sorry I don't have a notebook and am not sure exactly how this works.

  • JMS Adapter - data conversion xml- structured data has extra characters

    Further to [Using MQ / JMS adapter with legacy system to talk to SAP;, I am using the Module tab on my receiver JMS Adapter to convert the xml payload to a structured format. It converts to the mainframe ebcdic code set.  I am on PI 7.11, and the MQ Series (which JMS interacts with) is 6.0.  The code I have is comparable to the wiki:[http://wiki.sdn.sap.com/wiki/display/XI/HowTo...ContentconversionmodulewithJ2EEJMS+adapter], i.e. the example at the very bottom of that article.
    The issue we are having is that an extra character gets inserted at the end of each structure (within the message), i.e. our message contains 4 structures, but when we view the structured data on our mainframe system (that arrives from PI), the entire message is shifted by 4 characters... by 1 after the end of each structure.  On the mainframe, this extra character appears as '.'. It must be an end-of-line or something...
    Has anyone had the same issue?  If so, were you able to resolve? I could probably set up my message data type to just be one big declare (thus eliminating the use of structures within it), but that is something I'd rather not do.
    We are in the process of reviewing Note 856346, #6 but not sure if it applies.
    Regards,
    Keith

    Hi,
    check localejbs/SAP XI JMS Adapter/ConvertMessageToBinary Local Enterprise Bean convert_XI2Bin
    this is not CallJMSService.
    And also check the receiver Structure, if it is falt structure its ok, else
    see the below link if it has the complex structure , how to handle..
    See the below links
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    content conversion
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Regards
    Chilla..

  • Technical issue SAP F110 related issue. getting extra characters in outgoing file from sap.

    Hi Technical guru's,
    SAP system creating a outgoing file through F110- t-code, this outgoing file has extra characters (DOC.NO:)
    We need to remove these extra characters. Once Payment run has been carried out through F110, in SM37 in job spool it is showing like screen attached with name “file from sm37”.
    But when we look in to outgoing file directory extra characters as I mentioned above is appearing below is the related screen attached with name “out gooing file”.
    Gurus can anyone please suggest me where I can check about this. I have checked the program available in the job as well in the F110 transaction.But could not find any hint.
    Programs which I find in SM37.
    SAPF110S
    SAPFPAYM_SCHEDULE
    RFFOSE_B
    Programs which are available in F110.
    RFFOAVIS
    RFFOEDI1
    RFFOSE_B
    Does extra  characters coming through functional configuration (DME configuration) or coming through SAP standard programs.
    I am Technical person. I need to solve this issue guys please help me in this.
    If above information is not sufficient  let me know what are the other information should I provide.

    I didn't get any resolution so far also I can't convert into Adobe form because this is a production issue which should be fix by making the requied setting or changes in SAP script itself we can't go for new developmet for this isuue.

  • Extra characters at end of line in spool file

    I am trying to generate csv files from SQL Developer using queries written to spool files.  I have embedded the queries and associated set commands in script files and call them, as advised elsewhere.  This gives csv files that look fine, with headings and data comma separated and enclosed with double quotes.  The problem is that the files seem to contain a lot of extra characters at the end of each line.  They seem to be spaces, but not sure.  This is causing problems for the person trying to load the data.
    I'm using version SQL Developer 3.1.07.42, Java 1.6.0_11.
    Any ideas on how to avoid the extra spaces appearing?  Thanks for any help.
    Ben.

    Jeff,
    The SQL in the script file is below.  To be honest, I have reduced it down to a simple select from dual and it still puts extra spaces at the end of the single line.
    col ord noprint
    spool test.csv
    SELECT  ' ' ord,
      'ZONE_ORDER_NUMBER'||','||
      'ZONE_NAME'||','||
      'ZONE_TYPE'||','||
      'DESCRIPTION'||','||
      'START_DATE'||','||
      'END_DATE'
    FROM dual
    UNION ALL
    SELECT zone_name ord,
      '"'||zone_order_number||'"'||','||
      '"'||zone_name||'"'||','||
      '"'||zone_type||'"'||','||
      '"'||description||'"'||','||
      '"'||TO_CHAR(start_date,'DD-MON-YY')||'"'||','||
      '"'||TO_CHAR(end_date,'DD-MON-YY')||'"'
    FROM zones
    ORDER BY ord;
    spool off

  • JSP Servlet and convert the result set of an SQL Query To XML file

    Hi all
    I have a problem to export my SQL query is resulty into an XML file I had fixed my servlet and JSP so that i can display all the records into my database and that the goal .Now I want to get the result set into JSP so that i can create an XML file from that result set from the jsp code.
    thisis my servlet which will call the jsp page and the jsp just behind it.
    //this is the servlet
    import java.io.*;
    import java.lang.reflect.Array;
    import java.sql.*;
    import java.util.ArrayList;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.*;
    import javax.sql.*;
    public *class *Campaign *extends *HttpServlet
    *private* *final* *static* Logger +log+ = Logger.+getLogger+(Campaign.*class*.getName());
    *private* *final* *static* String +DATASOURCE_NAME+ = "jdbc/SampleDB";
    *private* DataSource _dataSource;
    *public* *void* setDataSource(DataSource dataSource)
    _dataSource = dataSource;
    *public* DataSource getDataSource()
    *return* _dataSource;
    *public* *void* init()
    *throws* ServletException
    *if* (_dataSource == *null*) {
    *try* {
    Context env = (Context) *new* InitialContext().lookup("java:comp/env");
    _dataSource = (DataSource) env.lookup(+DATASOURCE_NAME+);
    *if* (_dataSource == *null*)
    *throw* *new* ServletException("`" + +DATASOURCE_NAME+ + "' is an unknown DataSource");
    } *catch* (NamingException e) {
    *throw* *new* ServletException(e);
    protected *void *doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    Connection conn = *null*;
    *try* {
    conn = getDataSource().getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select post_id,comments,postname from app.posts");
    // out.println("Le r&eacute;sultat :<br>");
    ArrayList <String> Lescomments= *new* ArrayList<String>();
    ArrayList <String> Lesidentifiant = *new* ArrayList<String>();
    ArrayList <String> Lesnoms = *new* ArrayList <String>();
    *while* (rs.next()) {
    Lescomments.add(rs.getString("comments"));
    request.setAttribute("comments",Lescomments);
    Lesidentifiant.add(rs.getString("post_id"));
    request.setAttribute("id",Lesidentifiant);
    Lesnoms.add(rs.getString("postname"));
    request.setAttribute("nom",Lesnoms);
    rs.close();
    stmt.close();
    *catch* (SQLException e) {
    *finally* {
    *try* {
    *if* (conn != *null*)
    conn.close();
    *catch* (SQLException e) {
    // les param&egrave;tres sont corrects - on envoie la page r&eacute;ponse
    getServletContext().getRequestDispatcher("/Campaign.jsp").forward(request,response);
    }///end of servlet
    }///this is the jsp page called
    <%@ page import="java.util.ArrayList" %>
    <%
    // on r&eacute;cup&egrave;re les donn&eacute;es
    ArrayList nom=(ArrayList)request.getAttribute("nom");
    ArrayList id=(ArrayList)request.getAttribute("id");
    ArrayList comments=(ArrayList) request.getAttribute("comments");
    %>
    <html>
    <head>
    <title></title>
    </head>
    <body>
    Liste des campagnes here i will create the xml file the problem is to display all rows
    <hr>
    <table>
    <tr>
    </tr>
    <tr>
    <td>Comment</td>
    <td>
    <%
    for( int i=0;i<comments.size();i++){
    out.print("<li>" + (String) comments.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>nom</td>
    <td>
    <%
    for( int i=0;i<nom.size();i++){
    out.print("<li>" + (String) nom.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>id</td>
    <td>
    <%
    for( int i=0;i<id.size();i++){
    out.print("<li>" + (String) id.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    </table>
    </body>
    </html>
    This is how i used to create an XML file in a JSP page only without JSP/SERVLET concept:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <%
    // Identify a carriage return character for each output line
    int iLf = 10;
    char cLf = (*char*)iLf;
    // Create a new empty binary file, which will content XML output
    File outputFile = *new* File("C:\\Users\\user\\workspace1\\demo\\WebContent\\YourFileName.xml");
    //outputFile.createNewFile();
    FileWriter outfile = *new* FileWriter(outputFile);
    // the header for XML file
    outfile.write("<?xml version='1.0' encoding='ISO-8859-1'?>"+cLf);
    try {
    // Define connection string and make a connection to database
    Connection conn = DriverManager.getConnection("jdbc:derby://localhost:1527/SAMPLE","app","app");
    Statement stat = conn.createStatement();
    // Create a recordset
    ResultSet rset = stat.executeQuery("Select * From posts");
    // Expecting at least one record
    *if*( !rset.next() ) {
    *throw* *new* IllegalArgumentException("No data found for the posts table");
    outfile.write("<Table>"+cLf);
    // Parse our recordset
    // Parse our recordset
    *while*(rset.next()) {
    outfile.write("<posts>"+cLf);
    outfile.write("<postname>" + rset.getString("postname") +"</postname>"+cLf);
    outfile.write("<comments>" + rset.getString("comments") +"</comments>"+cLf);
    outfile.write("</posts>"+cLf);
    outfile.write("</Table>"+cLf);
    // Everything must be closed
    rset.close();
    stat.close();
    conn.close();
    outfile.close();
    catch( Exception er ) {
    %>

    Please state your problem that you are having more clearly so we can help.
    I looked at your code I here are a few things you might consider:
    It looks like you are putting freely typed-in comments from end-users into an xml document.
    The problem with this is that the user may enter characters in his text that have special meaning
    to xml and will have to be escaped correctly. Some of these characters are less than character, greater than character and ampersand character.
    You may also have a similiar problem displaying them on your JSP page since there may be special characters that JSP has.
    You will have to read up on how to deal with these special characters (I dont remember what the rules are). I seem to recall
    if you use CDATA in your xml, you dont have to deal with those characters (I may be wrong).
    When you finish writing your code, test it by entering all keyboard characters to make sure they are processed, stored in the database,
    and re-displayed correctly.
    Also, it looks like you are putting business logic in your JSP page (creating an xml file).
    The JSP page is for displaying data ONLY and submitting back to a servlet. Put all your business logic in the servlet. Putting business logic in JSP is considered bad coding and will cause you many hours of headache trying to debug it. Also note: java scriptlets in a JSP page are only run when the JSP page is compiled into a servlet by java. It does not run after its compiled and therefore you cant call java functions after the JSP page is displayed to the client.

  • Hyperlinks created in CS6 introduce extra characters

    I've noticed that when I create hyperlinks in InDesign CS6 (v 8.0.1) it adds extra characters in the URL, thus breaking the link. For example [red highlights problem areas]...
    Correct hyperlink typed into InDesign:
    http://portfolio.epri.com/ProgramTab.aspx?sId=ENV&rId=220&pId=6931
    InDesign renders the URL this way:
    http://portfolio.epri.com/ProgramTab.aspx%3FsId%3DENV%26rId%3D220%26pId%3D6931
    This happens on both a Mac and a pc. I never experienced this problem in earlier versions of InDesign.
    I found an earlier discussion about this problem but it doesn't appear that Adobe has fixed it. A corrective script was offered by Laubender in that discussion. However, I create a lot of docs with a lot of links and would rather avoid that type of solution.
    Any suggestions would be much appreciated.

    Use laubender's script solution. It is the most straightforward fix.
    http://forums.adobe.com/message/4463255#4463255

  • PDFMaker bookmarks broken or extra characters

    My configuration:
    Windows XP SP2
    Acrobat 8 Pro
    Word 2000
    When I attempt to create bookmarks automatically using the options in PDFMaker, the resulting bookmarks are broken and the bookmarked headings have extra characters in front of them.
    By broken, I mean that the bookmarks all point to the same, incorrect page.
    The headings (and StyleRef fields in the headers) include extra characters of the form 0B, 1B, 2B, etc.
    This happens when I start Word without any other add-ins, and when I try to process a completely new, small, clean document with just a few headings.
    This happens when I use built-in headings and when I use custom designed headings.
    Any suggestions for fixes or workarounds will be appreciated!
    Bear

    Bill: Thanks for your suggestion. AFAIK we are using the last available update to Word 2000. And remember, it's not a problem in the DOC file -- it's only in the PDF when created with bookmarks.
    Here's my most precise formulation of the problem to date. I'll call the unwanted characters in the headers the "1B" problem.
    When you create a PDF with bookmarks from a document that uses a StyleRef to populate the headings, IF the StyleRef is for a built-in heading style, the "1B" problem appears. In our problem template, the headings are filled by StyleRef to Heading 1, a built-in heading style.
    If I create a custom style named H1 that is identical in all aspects to Heading 1 and use that for the topic title paras (paras that used to be Heading 1) the "1B" problem disappears.
    To recap, in the "fixed" version:
    H1 (used for the level 1 PDF bookmark) is a custom para style used for topic titles. Headers are populated via StyleRef to H1.
    Heading 2 is used for the level 2 PDF bookmark. (I expect any other built-in headings will work fine as well. It's just a conflict between built-in headings and StyleRef fields.)
    This leaves three solutions:
    1. Revise the style definitions in the template to use a custom style for topic title paras.
    2. Remove the header from the template design
    3. Create bookmarks manually.
    I'm inclined to remove the headers, as this is a medium-sized manual that isn't divided into chapters, and it's of marginal value to the reader to put the topic titles in the page headers when there are so few topics, and they are each only few pages long.
    I don't expect a solution in the form of an upgrade or patch for either Word 2000 or Acrobat 8. Word users on the Word-PC site experimented for me, and we were able to reproduce the problem in Word 2007 and Acrobat 8. I suspect it's there with Word 2003 as well.
    Bear

  • Sample jsp servlet bean (MVC) code

    We want to look into the JSP/Servlet/Bean area for our next project. We wish to understand the technology and as such want to hand build simple applications, and as such do not want to use JDeveloper just yet.
    We have searched and searched for suitable material but cannot anywhere find a sample application that :
    A. Lists contents of a databse table
    B. Each item in trhe list is a link to a page that allows that item, to be edited.
    C. A new item can be added.
    D. Uses the MVC model of JSP/Servlet and bean (preferably with no custom tags)
    There are examples that are too simplistic and do not cover the whole picture. Having spent over 100 GBP on books lately, only to be disappointed with the examples provided, we need to see some sample code.
    The samples provided by Oracle are too simplistic. They should really have provided ones built around the EMP and DEPT tables.
    Anyone know where we can get hold of this sample code.

    At the risk of sounding really dumb the examples are just too complex. There does not appear to be anywhere on the web where I can find a simple JSP/servlet/bean example of the type I described. There is enouigh material describing each individual component, but what I need is an example to cement the ideas, but the ones suggested are too much for a newbie. Even the much vaunted Pet Store thingy causes my eyes to glaze over.
    I dont expect anyone to have written something with my exact requirements, but surely to goodness there must be something that:
    1. On entry presents a search form on a table (e.g. EMP)
    2. On submission list all rows in EMp matchiung the criteria.
    3. The user can either click the link 'Edit' which opens up a form dispalying the row allowing the user to edit and save the changes, or click the 'New' button to show a blank form to create a new EMP.
    All this via a Controller servlet, with the database logic handled by a java bean, and all the presentation done via JSP.
    To me this is the most obvious and instructive example of this technology, but after days of trawling the web, and looking through a number of books, I cannot find such a thing.
    CGI with Perl DBI/DBD was a breeze to work with compared to this stuff ..... maybe ASP with SQL/Server would be a more fruitful use of time.

  • Extra characters embedded into messages

    I have had an intermittent problem in e-mails sent from Safari, and Mail 2.1 (my default reader). These charaters are & # 1 0 ; > embedded (without spaces) into messages I send ; I don't know if every recipient gets the extra characters but they are appearing with more regularity. They appear in the messsages that are received but not in the my Sent folder. They appear in my outgoing messages that are returned as part of a Reply. I have tried to talk with Comcast but got nowhere; it seems that the only mail recipients that get this corruption are PC users. It also seems that it gets worse the more times the orginal message gets sent back and forth but this may just be my frustration imagining the problem growing during each trip. Any suggestions or fixes?? Thanks. PS when I previewed this post the first time only the > appeared; went back and put in spaces between all!??!
    MAC G5   Mac OS X (10.4.9)   ISP is Comcast.net

    I have had an intermittent problem in e-mails sent
    from Safari, and Mail 2.1 (my default reader). These
    charaters are & # 1 0 ; > embedded (without
    spaces) into messages I send ;
    It sounds like special symbols used to represent some characters in html are not being translated correctly at the other end. The easiest fix is probably to make sure you are sending your email as Plain Text and not Rich Text.

  • I get extra characters with punctuation in my downloads

    I get extra characters at the end of my sentences with my eBook downloads.  How do I get rid of them.

    Hi "g_g_m_mayers"
    I’m sorry but, that’s not an issue…It’s about normal…
    Here for example, is PRS-T2 menu, with all reading books “appearance” selections.  PRS-T2 (Esupport.Sony US)
    About page size:
    If you select from the menu as “font size” the second icon from left, you’ll have the original page layout of the ebook.
    About fonts:
    With fonts all depends on ebook's file.
    If file includes one or more set of fonts, and you select on reader device Font Type “Original”, you’ll have the original fonts on reader and they will be also the same on PC.
    For example:
    If fonts in ebook were, Greek or Cyrillic or calligraphic or special characters, they will be also on reader device Greek or Cyrillic or calligraphic or special and they will be the same even on PC.
    In this case we have the same fonts on PC, on Reader device and on original book.
    But what happens if the ebook’s file does not include set of fonts?
    Reader device will try to type ebook with the built-in characters (Amasis, Frutiger Neue, Helevetica ,Palatino, etc..) and probably they won’t be the same as the original. Reader device, also, doesn’t include special or other language characters and so, probably, you’ll see “strange” characters like “?” “%”, etc.
    On PC now, most of these “special characters” are built-in, so most of times there’s no problem.
    But quite always, PC's ebook viewer software selects different fonts and so we could have:
    Original Book with one type of font, PC ebook with a second type of fonts, Reader device with a third type of fonts.

  • Extra characters getting appended after decoding

    Hi All,
    I am trying to decode the special characters by using the following function
    public static String decode(String str) throws Exception
    byte[] b0 = new byte[str.length()];
    Pattern p = Pattern.compile(
    "\\G(?:=(\\p{XDigit}{2})|[\\p{Graph}\\p{Blank}&&[^=]])");
    Matcher m = p.matcher(str);
    int idx = 0;
    while (m.find())
    b0[idx++] = m.start(1) != -1
    ? (byte)(Integer.parseInt(m.group(1), 16))
    : (byte)m.group().charAt(0);
    // byte[] b1 = Arrays.copyOf(b0, idx);
    return new String(b0, "UTF-8");
    But if i decode "=C2=A365=20sheetal " to £65 sheetal..,the decode is proper but it is adding extra characters like £65 sheetal?????? at the end .
    How can i make my decode function not to add extra characters?OR HOW CAN I JUST SAVE "£65 sheetal " THIS VALUE??
    THANKX

    The problem got solved..,its decoding every extended bit values.
    The function was changed little bit.Array copy is done using for loop.
    public static String decode(String str) throws Exception
    byte[] b0 = new byte[str.length()];
    Pattern p = Pattern.compile(
    "\\G(?:=(\\p{XDigit}{2})|[\\p{Graph}\\p{Blank}&&^=])");
    Matcher m = p.matcher(str);
    int idx = 0;
    while (m.find())
    b0[idx++] = m.start(1) != -1
    ? (byte)(Integer.parseInt(m.group(1), 16))
    : (byte)m.group().charAt(0);
    // byte[] b1 = Arrays.copyOf(b0, idx);
    byte[] b1=new byte[idx];
    for(int i=0;i<idx;i++){
    b1=b0[i];
    return new String(b1, "UTF-8");
    Can any one say me,why euro symbol appears as ? in web-ui ,but it is saved in database as euro symbol itself?
    Thankx

Maybe you are looking for

  • How to customize the page

    hi my mozila firefox page was too big to view for some sites iam not getting the scroll bar also so pls suggest me how to decrease the size of the screen pls

  • Utl_file.utl_raw adds a line feed at the end of the line. How to avoid it.

    utl_file.utl_raw adds a line feed at the end of the line. I have to send some binary files to my vendor and they do not want a line feed at the end of the line. When I execute the sample program below, it creates a file with a line feed(chr(10)) at t

  • Cusctom tag with body

    I have written a custom tag with body. The intention is to process the body and replace any periods with line breaks (in HTML) before writing the BodyContent to the enclosing JspWriter. I find that replacing "." with ".<br>" does not take any effect.

  • Internet windows won't close

    My phone software updated last night.  Now I'm having problems with my web browser.  When I used to close it, it would give me a fresh webpage the next time I opened it. Now, it brings me right back to the one I was viewing before, even if I was done

  • Syncing photos from different iPhoto accounts

    On my iMac, my wife, daughter and I all have our own accounts on the machine which means we have 3 different iPhoto collections and you can's see one from the other. Any way we can sync all three iPhoto collections to a single iPad?