Display special character on web page

Hello,
Is it possible to display the special character < or > in a bsp page ?
I try to do it but it seams to be interpreted as HTML and nothing is printed.
In material description in purchase requisition we have < material desc > and I would like to show this in a tableview.
For the moment I delete the special character in a string variable but it does'nt correspond to my need.
Thanks for your help
Véronique.

Hello,
You could try something with special characters :
e.g. this code
&#171 material &#187 
produces this output
« material » 
Best regards,
Dirk.

Similar Messages

  • How can i display special character?

    how can i display special character that come from DB.
    for example i have in field in Table that has this value <Id, r>.
    i want to print this value to the html. and replace the <,> to special character.

    "<" is "<"
    ">" is ">"

  • How to make SAPScript to display special character?

    Hi all, 
            How to make SAPScript to display special character like character in 'Wingdings 2' font type? Now, I cant make SAPScript to display those special characters in the font type.
    Best Regards,
    Chee Boon

    Hi,
    Insert your font with SE73.
    Then set in sapscript with paragraph or character format so that yoyur charracter is printed with the font you wanted.
    Gr., Frank

  • Help in retrieveing Blob from Oracle db and display it on a web page

    I am using Sun Studio creator2 and this is what I want to achieve:
    When I click on "Load" button, the image is displayed on the web page(the application is a web application)
    I have dropped the "image" object from the pallette
    Having the database image displayed in the image field, when I enter the image ?Id? and click on the ?Load? button.
    Here is my piece of code:
    public String loadButton_action() {
    HttpServletRequest request = null;
    HttpServletResponse response = null;
    String connectionURL = "jdbc:oracle:thin:@//localhost:1521/cdecentre1";;
    /*declare a resultSet that works as a table resulted by execute a specified
    sql query. */
    ResultSet rs = null;
    // Declare statement.
    PreparedStatement psmnt = null;
    // declare InputStream object to store binary stream of given image.
    InputStream sImage;
    Connection connection = null;
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbName = "cdecentre1";
    String userName = "christian";
    String password = "cc";
    String theid = (String)idField.getValue(); //reading the image id
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    connection = DriverManager.getConnection(connectionURL, userName, password);
    /* prepareStatement() is used for create statement object that is
    used for sending sql statements to the specified database. */
    psmnt = connection.prepareStatement("SELECT image FROM CHRISTIAN.PICTURES WHERE id = ?");
    psmnt.setString(1, theid);
    rs = psmnt.executeQuery();
    if(rs.next()) {
    byte[] bytearray = new byte[1048576];
    int size=0;
    sImage = rs.getBinaryStream(1);
    //response.reset();
    response.setContentType("image/jpeg");
    while((size=sImage.read(bytearray))!= -1 ){
    response.getOutputStream().write(bytearray,0,size);
    rs.close();
    psmnt.close();
    connection.close(); } }
    } catch(Exception ex){
    System.out.println("error :"+ex);
    return null; }
    At the moment, when I click on the ?Load? button, the image is not present in the image field.
    I am only obtaining a message inside the message component.
    What should I do to have the image displayed in on the web page?
    Your help will be highly appreciated.

    A comprehensive dissertation from Javaworld: http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
    Published 05/05/2000, ergo Java 1.0/1 era... still a valid explanation of the problem and the fundamental solution, but take the code (esp ImageIO) from here
    http://blog.codebeach.com/2008/02/creating-images-in-java-servlet.html
       1. package com.codebeach.servlet; 
       2.  
       3. import java.io.*; 
       4. import javax.servlet.*; 
       5. import javax.servlet.http.*; 
       6. import java.awt.*; 
       7. import java.awt.image.*; 
       8. import javax.imageio.*; 
       9.  
      10. public class ImageServlet extends HttpServlet 
      11. { 
      12.     public void doGet(HttpServletRequest req, HttpServletResponse res) 
      13.     { 
      14.         //Set the mime type of the image 
      15.         res.setContentType("image/jpeg"); 
      16.  
      17.         try 
      18.         { 
      19.             Create an image 200 x 200 
      20.             BufferedImage bufferedImage = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); 
      21.  
      22.             //Draw an oval 
      23.             Graphics g = bufferedImage.getGraphics(); 
      24.             g.setColor(Color.blue); 
      25.             g.fillOval(0, 0, 199,199); 
      26.  
      27.             Free graphic resources 
      28.             g.dispose(); 
      29.  
      30.             //Write the image as a jpg 
      31.             ImageIO.write(bufferedImage, "jpg", res.getOutputStream()); 
                        ////////////// NICE !!!! //////////////
      32.         } 
      33.         catch (IOException ioe) 
      34.         { 
      35.            e.printStackTrace();
      36.         } 
      37.     } 
      38. }  Edited by: corlettk on 19/01/2009 23:22 ~~ {color:#FF0000}Never{color} eat an exception!

  • Quotation marks display as &quot in web pages, I'm using Unicode UTF-8 character encoding.

    On many web pages, where a quotation mark character should appear, instead the page displays the text &quot. I believe this happens with other punctuation characters as well such as apostrophes although the text displayed in these other cases is different, of course. I'm guessing this is a problem with character encoding. I'm currently set to Unicode (UTF-8) encoding. Have tried several others without success.

    Here's a link where the problem occurs. Note the second line of the main body of text.
    http://www.sierratradingpost.com/lp2/snowshoes.html
    BTW, I never use IE, but I checked this site in IE and it shows the same problem, so maybe it is the page encoding after all rather than what I thought.
    In any case, my thanks for your help and would appreciate any solution you can suggest.

  • How do I get a 'insert - hyperlink - file' to display in a new web page?

    When I insert the link to a downloadable file, that's fine.
    But I'm losing my eyeballs because iWeb uses the same webpage to open my downloadable file.
    The option to check, 'open in new web page' is not appearing.

    Welcome to the Apple Discussions. You need to first upload the file to your server and use the URL to the file at that location as the link to external page option of the Inspector/Link/Hyperlink pane. If the browser supports displaying the file type it will open in a new window.
    Click to view full size
    OT

  • Display FLV file on web page - what code is needed

    In Premiere Elements 7 I used the share option to make a .FLV file to place on a web page. What code is needed to display this file? What other steps are needed to have the file play on a web page? I get the ides that I need to embed a played on my web page, how do I do that? I find no help in the premiere elements help file.
    thanks
    Al

    Maybe you should ask in the Premiere Elements forum http://forums.adobe.com/community/premiere/premiere_elements ?

  • Display picture on another web page

    Hi,
    I'm a NEWBIE to dreamweaver...
    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page. How would I go abouts doing this? Do I have to pass the filename, of the picture, to the other page? If so, what is the best way to do this.
    I currently use HTML and CSS to code the web site.
    Please Help.
    Thanks in advance,
    Marc

    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page.
    Linking to an image as you have suggested doesn't link to a page as the OP described. An image is not a page unless it's contained in a page. If it's just an image then it's just that: just an image. It may open in a browser window or tab, but a browser window or tab is not necessarily a page. Link to a page by placing the image in the page in similar manner as how the thumbnails were added to a page then link thumbnail to the lardger image page by using anchor tag.
    <a href="you_image_page.html"><img src="th_thumb_image.jpg" ...
    best,
    Shocker

  • How to display Japanese Text in web page?

    Hi,
    I am trying to get this i18n stuff right for a few days but don't seem to find all answers.
    I am using Sybase databse to store Japanese characters. A perl script inserts the chars in table. Then I use a test JSP program to display the chars.
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.sql.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="java.text.SimpleDateFormat" %>
    <html>
    <head><title>testing for utf string</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try{
            InitialContext context = new InitialContext();
            DataSource ds = (DataSource) context.lookup(System.getProperty("TESTDS"));
            conn = ds.getConnection();
            stmt = conn.createStatement();
            rs = stmt.executeQuery("select comment from TestTable");
            while(rs.next()){
                    out.println("<br>");
                    out.println("the comment is : <Textarea Cols=\"90\" Rows=\"5\" Name=\"Comment\">"+rs.getString(1)+"</Textarea>");
                    out.println("<br>");
                    out.println("the comment is "+rs.getString(1));
    }catch(Exception e){
            e.printStackTrace();
    }finally{
            try{
            if(rs != null) {rs.close();}
            if(stmt != null) {stmt.close();}
            if(conn != null) {conn.close();}
            }catch(Exception e){}
    %>
    </body>
    </html>But the page does not display correctly. If I change the charset as JIS, then it seems to work. But my web page will be having chars from multiple language and I think utf-8 is the right charset for that.
    Any pointers?
    Thanks

    What JSP/Servlet server are you using and what version?
    Try this just for debugging:
    Remove the rs.getString(1) from the out.println() call. Just assign the returned value to a local String variable and display the variable using (I hope I'm remembering correctly) this:
    <%= myVariable %>
    I'm curious whether directly inserting the text into the page is somehow different from sending it via out.println.
    Regards,
    John O'Conner

  • Display special character for 'Artihmetic mean'

    I can't find the character for 'Arthmetic mean', it's 'x' with a line above, any ideas!?
    I've searched several font (Symbol, Wingdings etc) but didn't found that special character...!

    Oh, I do apologise. I saw the character on wiki and assumed it was a character, rather than a graphic.
    Usually, to create interesting unicode characters, you can combine diacritics. For instance, xbar is X followed by ¯;

     (might not display on unsupported browsers)
    However LabVIEW doesn't support this, and will print x ¯ and I can't find any info on how else it might be implemented.
    You might be able to find a hack in this document
    And in the meantime, you can kudo this suggestion
    - Cheers, Ed

  • Display Special Character

    Hi,
      I have developed a report which display the result in ALV.  I found that the character '&' was converted to another symbol.  Is there any FM or thing that can resolve this?? Besides, when I put '&' in the forum search, it returns error.  Does SAP support special character??
    Regards,
    Kit

    Hi Kit,
    You could try something with special characters :
    e.g. this code
    &#171 material &#187
    produces this output
    « material »
    Even better is this one &#60 material &#62.
    kindly reward if found helpful.
    cheers,
    Hema.

  • Display problems with allowing web pages to use their own fonts, both on and off.

    I refer to the "Allow pages to choose their own fonts, instead of my selections above" option in the Content > Advanced tab of the Options menu.
    When I have this option unchecked, allowing my font choice to override the default non-image generated text for web pages, it seems that many icons and buttons on numerous sites are replaced by some sort of hex code malfunction. They appear as small boxes with four characters inside. I'm sure someone knows the official term for what these are and why they occur.
    When I have the option checked, however, any non-image generated text on numerous websites appears as an ugly Stencil font that I simply cannot find the origin of. It should not be and clearly isn't the default font for all of these different sites. By "non-image generated text", I mean any text that is not incorporated into the design of the page.
    This issue has persisted through several full re-installs. Any insight into a solution for one or both sides of this problem would be quite appreciated. Thanks for reading.

    You would have to remove (uninstall) or reinstall the Georgia font if it is currently corrupted.
    You can use the System File Checker to check for missing and corrupted font files.
    It needs to be run from an Elevated Command Prompt.
    Open a cmd.exe window as Administrator:
    Start, click Programs, click Accessories
    Right-click Command Prompt, and choose "Run as administrator"
    Click past the UAC Screen
    After the cmd.exe prompt, type: sfc.exe /scannow and press Enter
    * http://windowsforum.com/threads/system-file-checker-a-great-windows-fix-tool.19250/

  • Safari Not Displaying All Images On Web Page

    When I look at a web page in Safari on my iPhone 3GS, not all of the images on the page load. Instead, I see little blue squares with question marks in them. However, if I look at the same web page on an iPhone 4, the images DO load. Why is this happening?
    Here are two screenshots to prove my point:
    iPhone 3GS
    iPhone 4

    Settings>Safari>Javascript On maybe?
    May find an answer here as well:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Domain User profile displays special character "?" in command prompt.

    HI All,
    In our organization, there is one domain user in his profile it shows special character "?". which is stoping JAVA application to Run.
    When you see it in windows explorer, c:\users\username. I am not able to see any special character.
    But when i am login to command prompt and check it shows c:\users\username?> Here at the end of the user name i am seeing "?". Which is giving problem to run JAVA application. I checked user profile ( Firstname, lastname , givenname)
    and there i couldnot able to see any space or special character. The only thing i can see in adsiedit user properties in "TextEncodedORAddress" attribute it shows 
    C=US;A= ;P=abc;O=Exchange;S=User?;G=xyz;I=M; 
    When i check this properties i can see the same in exchange user properties in X400 address. 
    I try to edit and remove the  ? but again it is creating new address with removing ? but reply as it shows with the user name with special character. As i dont know from where it is getting the special character.
    Any help for this will be appreciated... 
    Thanks & Regards,

    check out this link, it might help:
    Moving and Renaming User Accounts
     https://technet.microsoft.com/en-us/library/ee198798.aspx
    example from link above:
    Listing 7.19 Renaming a User Account Within the Same OU
    1
    2
    3
    4
    Set objOU = GetObject("LDAP://ou=Sales,dc=NA,dc=fabrikam,dc=com")
    objOU.MoveHere _
    "LDAP://cn=BarrAdam,ou=Sales,dc=NA,dc=fabrikam,dc=com", "cn=LewJudy"
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

  • MS Word Special characters in web pages

    I am running into an issue when I paste text from MS Word documents into web pages (JSP) forms.
    Characters like dashes paste. Then the form is submitted and when later retrieved and prepopulated from the DB, they come out garbled.
    The database accepts UTF-8 encoding, and I changed the charset on the JSP's to use UTF-8 encoding, but none of this helped.
    Could anyone suggest where else can I look for the problem?
    Thanks.

    Thanks,
    I am reading your article and attempting to implement the changes...
    I am trying to understand something - my system is Vista, whose default encoding is Cp1252. Must I change it to UTF-8 as well, or is it sufficient to force UTF-8 in my application?

Maybe you are looking for

  • Tranfer of a PDF file from Backend to Client

    Hello! everybody I do have a group of people that go to work on the field. They have a work plan to do.  This work plan is a pdf file. Somebody has any idea how to pass a pdf (or an image) file from the backend to the client (Device Mobile) when I do

  • Problem with emails

    Hi everyone! This is my last try to fix my Blackberry... Let me explain: About a month ago, all of a sudden, my Blackberry stopped receiving and sending emails. Everything else works perfectly, I can send Whatsapp, BBM, use the internet normaly, but

  • Using XDB with Oracle Apps

    Oracle Apps 11.5.9 installs a 9.2 database without XDB. XDB can be installed in these databases by running catqm.sql and catxdbj.sql. The questions is, if I only have a license to run Oracle Apps am I also licensed to install XDB into that Apps datab

  • Using Active Directory - either Secure or Distribution Groups

    Reviewing the security documentation for UCM 10g R3, it appears that we should only map to Active Directory Secure Groups and not Distribution Groups, perhaps even if they are marked "secure"? Does anyone know if this is a technical limitation or a b

  • Odata webservice post method is not working in Android Lollipop?

    Hi All,            I have a odata posting webservice that is working fine in Android Kitkat version but that same service is not working in Android Lollipop version. please assist me.