Displaying Arabic URL in a JAVA CODED WEB BROWSER

Hello everyone,
Please if there is anyone who can help me with Java Code....I have a java coded web browser, but i would like to enable Arabic .... currently, when arabic is typed into the URL bar, it appears at 'square boxes'...i would like example code on how to remedy that problem, so that when a user enters a url in arabic it displays the correct characters...Also, is there a simple code to check the 'hostname' (basically the name entered in the URL bar) whether or not it is in Arabic or not....
Mucho Gracias in advance, any help would be More than appreciated...
thanks ....
email:[email protected]

I thought it is possible to treat it like JTextArea where a user
can type in unicode characters....however on IE you can type in arabic (after the keyboard shift CTRL or ALT shift)in the URL bar...however in my little browser you cannot do that....is there anyway to enable that to happen...
once again thanks in advance....
oh and for the string check, is there something like :
host.equalsIgnoreCase('to any unicode characters');
i tried it using \u06xx but to no avail....
please any help!! id appreciate it....
-betterhopes

Similar Messages

  • We have problem with chat, icant open chating appear this masseg( DoookNet requires a Java Compatible web browser to run.)

    when i need open the chat page ,appear this masseg :
    DoookNet requires a Java Compatible web browser to run.
    i need solve for this problem.
    best wishes,
    abu_ahmed

    good aftrnoon,
    About my problem i not found solution for that.

  • Fonts displaying in strange characters in Email and Web Browser

    Myself and my creative director (on two different computers) are seeing strange characters in our email clients and web browser. He uses Entourage for Email and I use Thunderbird. We both use Firefox for a web browser.
    This does not happen with every email or with every web page, what could it be?
    View a screenshot here:
    ftp://www.hanlonftp.com/upload/fontProblem.jpg

    Clear out the font cache files from the hard drive with Font Finagler. Also, if you have the fonts Helvetica Fractions or Times Phonetic on the drive, delete them.

  • Displaying a URL from a Java application

    Hi,
    I recently implemented a test Java application based on Steven Spencer's Java Tip 66: "Control browsers from your Java application" (http://www.javaworld.com/javaworld/javatips/jw-javatip66.html). Spencer's example tests for the current operating system, sets some constants based on the OS that it finds, and then calls the Runtime.getRuntime( ).exec( ) method. During the call, you can pass either a file:// or http:// URL. I can get the example to work perfectly given a file:// URL but have limited success supplying the http:// URL. When I supply a specific http:// URL such as "http://someserver/somedir/testfile.htm" the browser returns a "Cannot open URL" error. However, if I supply a URL that does not resolve to a specific HTML file, such as "http://someserver/somedir", and the directory has either a "index.htm" or "index.html" file, the application works fine. I would like to be able to pass an http:// URL that resolves to a specific HTML file. I am trying to implement context-sensitive help from within a Java application. I am testing this on a machine running Windows 2000 and using Microsoft's IE 5.x browser. Any help would be appreciated.
    Thanks,
    Scott Rifenbark

    The browser doesn't know that it was started by this Java code, you know. So you are asking why your browser (Internet Explorer) doesn't let you get at specific files. The answer is, that isn't how the Internet works. A URL is a "Uniform Resource Locator" (or something a lot like that). It locates a resource on the Internet. This resource may or may not be a file, but as the client you have no way of knowing whether what you get in response to that is a file on the server or whether it has been generated by some CGI program there.
    When you send an http:// URL to a web server, it looks at what you have sent and goes through its configuration files. Using this it translates that URL into either a file on the server (which it returns to you) or a program which it calls to return data to you. If it was a file, its local name on the server doesn't have to be related in any way to the contents of the URL.
    It sounds like you are planning to be the one setting up those files on the server, though. If that's the case, you have to configure the server appropriately for your needs.

  • Displaying Javascript console when PDF embedded in web browser?

    How do you debug Acrobat Javascript when running in the browser context (i.e. PDF is embedded in a web page via the object tag)? I can't get the console to display even when the script says console.show(). Is this possible? Given that the browser context allows different features I would say this is a very important feature to have.
    Thanks

    Thanks Dimitri. Does it have to be Acrobat rather than Adobe Reader?
    I tried this with Adobe Reader open in the background. It doesn't support ctrl + J but I forced it to open the console by:
    1) adding debugger.js to my Javascript folder
    2)  opening a PDF that had some document level Javascript that had console.show();
    The console displayed but was not written to by the PDF in the browser.

  • When i login to my banks online access point a new browser is opened and it takes up the full 27" display. ca i restrict the size of web browser screen used by tme online banking service?  imac 27" OSX snow leopard 10.6.8

    Intel iMac OSX Snow Leopard 10.6.8
    I logon to bank via its internet portal and next screen takes up all 27" display.
    Can this be controlled in any way or do I just put up with it, it is really annoying.

    Thank you for your response. Whew...i omitted to say I use Firefox... tried to logon using Safari... same
    result Installed Chrome ...same thing Installed Opera... this browser actually has in its Preferences menu
    the capacity to set JavaScript Options under the Conent submenu... DISALLOWED  all of resizing of windows, 
    moving of windows and ability of script to hide menu bar ... this fixes the screen to available browser size...
    so my issue has at least this resolution. Thank you Flet Cheryl 

  • I am having trouble with CSS.  Displays right in DW but not in web browser

    Hello,
    I am having difficultiy getting my webpage to look the way it does in Dreamweaver in a browers (All 5 of them).  My problems are with:
    - Title Heading Content
    - Sidebar
    I have two lines in my heading with the name of the organization.  I made two rules.  Header H1 and a sub header.  For some reason while previewing them in a browser there is a gap between the two words.  But in DW there is not.  I do not want the gaps.  How can I fix it?
    In a browser the side bar does not come all the way down.  There is a small gap between it and the footer.  Like the other problem this does not appear in DW only in the browers.
    Any help would be appreciated!  I am still learning CSS.
    I believe these are the only two files you need to look at.
    Thanks for the help!

    Also how can you see if your ISP offers the free web server space?
    Contact your internet service provider (ISP).  Often this is your telephone or cable broadband provider too.  If not, there are many free or very low cost remote server hosts around.   Do a Google search.
    I did do the validator and it told me I was fine.  I did not do a CSS one though.
    Good. So we know it's not an HTML error.  Get the FF Web Developer Toolbar.  It permits you to edit CSS in your browser to see how changes effect the layout plus a lot of other cool stuff.
    Sorry I'm still new to all of this.
    Don't fret, Tim. We all started in the same place.  You'll catch on soon enough. 
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Displaying a PDF for a form on web browser in  Web Dynpro Abap

    Hey
    I have a form (a set of input elements) on a view
    Now i want that as soon as i press execute , a pdf form is displayed with the values entered on the view.
    Thanks
    Shivi Goel

    Hi ,
    you can refer below links for interactive forms.
    [http://www.sdn.sap.com/irj/scn/logon?redirect=https%3a%2f%2fwww.sdn.sap.com%2firj%2fscn%2finteractiveforms-elearning]
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
    [http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm]
    Reagrds,
    Priya

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

  • Why does my web browser constantly blink when in a site that uses java?

    Hi
    when visiting a site that uses java my web browser blinks when ever there is an update to the information on the screen. Is there something i should change in my java preferences?
    thanks

    For safety disable Jave in all your Browsers...
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Little Snitch, stops/alerts outgoing stuff...
    http://www.obdev.at/products/littlesnitch/index.html
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    MadMacs0 says...
    This script from F-Secure is the only one I'm currently recommending http://www.f-secure.com/weblog/archives/00002346.html
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    Open DNS also blocks the FlashBack thing...
    http://blog.opendns.com/2012/04/09/worried-about-mac-malware-just-set-up-opendns /

  • Pdf in web browser

    Hi
    can anybody tell me how to display a pdf file in a current web browser where my code is running.
    my pdf file is in byte array format.
    i already tried <embd>
    Thanks in Advance.

    Yes the pdf is opening in adobe. But I don't want to open a new adobe browser to open.
    I want to display in the current web browser where my application is running.
    eg. if u are embedding pdf file like this.
    <EMBED src="temp1.pdf" width ="750" height="550"></EMBED>
    It won't open the new window. It displays the result in the current window.
    I have my pdf content in byte array. To wirte the above code i need a file. I even writes the byte array to a temporary pdf file. But I can't able to import that file dynamically to the WSAD workspace.
    Is there any other way to embed the (byte array)pdf file in the current window.
    Please advice me.
    Thanks in advance.

  • OWA encountered web browsing error in IE 8?????

    Hi all,
    i am using windows 7 32 bit OS IE 8 today when i was sign in to my account it display a message "OWA has encounter a web browsing error" i rest my IE setting restart but no effect then i run S/MIME
    update and then check again but no effect now please help out.
    Thanks and Regards
    Naveed Ali Sahil 

    Hello,
    Please create a new thread to IE forum via:
    http://social.technet.microsoft.com/Forums/en/ieitprocurrentver/threads
    Thanks,
    Simon

  • Creating a  a java Program which Displays a POP UP in a JSF Web Page!

    Hi Folks,
    I wrote a java program which checks the user credentials against the Active Directory, and if it exists displays a URL (of Web Application) with useri nfo filled automatically in the page deployed on Tomcat ver 6.x.
    Now My Problem is just that I have a Pop up in the User Login page which has 3 buttons and according to that the Logic ,Navigation flows. Earlier i was just filling the info directly from Active Directory and Landed into the User Info Page. But now the functionality has changed so I have to modify it. I am not able to find how to Display the Pop up. in that page.
    If anybody can help me with that I would be really greatful.
    Thanks in Advance ,
    Somil

    Thank you for the quick response George. I guess a better way communicate what I need to accomplish is "how"
    I went to the toolbar on the right, then "javascript", then "Document Java Scripts". That opened a window that had me name the script, then add it, then put in the scripting (see below). I do not know how to "place it in a document-level JavaScript (outside of a function definition) or in the initial page's Page Open event."
    This is the script I am attempting to use.
    var message = "When you have completed filling out the Tax Organizer, click on the purple "SUBMIT" button at the top of the page. This will automaticall submit your Tax Organizer for you. Be sure to print a copy for your files"
    app.alert(msg,3);
    If you could provide some step by steps that would be super.
    I am wanting this pop-up box to open and the client will have to then click on the "ok" button to make it dissapear so that they can then fill out the PDF.
    The "Submit" button is auto created for me when I choose to distribute the form, I am unaware of any way to move it.
    I feel that my issue is a elementary one, I am currently working through the Adobe Classroom in a Book lessons as all my acrobat skills have been self taught.

  • Portal with a URL using a Web browser in java stack

    Dear all,
    I can access the portal with our URL using a Web browser from your client machines .
    i got the following option :
    SAP Library
    SAP Library contains the complete documentation for SAP Web Application Server.
    Web Services Navigator
    Web Services Navigator is a tool that gives you a short overview of a specific Web service based on its WSDL, and enables you to test your Web service by creating and sending a client request to the real end point.
    System Information
    System information provides administrators with an overview of the system configuration and its state. It shows all of the system's instances and processes, their current state and important parameters (such as ports) that may be required for support cases, as well as the versions of the components installed.
    UDDI Client
    The UDDI client provides query and publishing functions for different Web service entities (tModels, business services) to any UDDI compliant registry.
    User Management
    The user management administration console provides administrators with the functions they need to manage users, groups, roles, and user-related data in the User Management Engine (UME). Users without administrator permissions can use it to change their user profile.
    Web Dynpro
    Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
    Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
    SAP NetWeaver Administrator
    A tool for administration and monitoring, offering a central entry point to the whole SAP NetWeaver system landscape. The SAP NetWeaver Administrator can be used in a central scenario where it is capable of operating an entire system landscape containing ABAP and Java systems as the application platform of SAP NetWeaver.
    J2EE Engine Examples
    This section contains several J2EE application examples that run on the J2EE Engine. The examples show some of the functions of both Java and the J2EE Engine. They can be easily deployed and tested by simply clicking on a button. The full source code of the examples is also available.
    when i click System Information:
    it ask user name () J2EE_ADMINand password (Installtion master password) ,after entered , i got below error .
    You are not authorized to view the requested resource.
      Details:   No details available
    Kindly suggest .

    Hello
    It means what it sais, your J2EE_ADMIN user doesn't have enough authorization.
    Chech if the appropriate authorization is assigned in your abap stack which belongs to the java stack you logon to:
    Role SAP_J2EE_ADMIN should be assigned to user J2EE_ADMIN.
    Kind regards
    Tom
    Edited by: Tom Cenens on Dec 17, 2010 2:55 PM

  • Problem displaying Arabic characters in PDF using Java APIs

    We are experiencing a problem when attempting to display Arabic characters within a PDF document using the Java APIs.
    The relevant Java code is as follows:
    RTFProcessor processor = new RTFProcessor("example.rtf" );
    processor.setOutput( “example.xsl” );
    processor.setExtractXLIFF(true);
    processor.process();
    ByteArrayOutputStream dataOut = new ByteArrayOutputStream();
    DataProcessor dataProcessor = new DataProcessor();
    dataProcessor.setDataTemplate( example.xdt" );
    if( parameterValues != null && parameterValues.length > 0 )
    setReportParameters( dataProcessor, parameterValues ); // method to set any report parameters from the parameterValues list.
    dataProcessor.setConnection( jdbcConnection );
    dataProcessor.setOutput(dataOut);
    dataProcessor.processData();
    FOProcessor foProcessor = new FOProcessor();
    foProcessor.setLocale( locale );
    foProcessor.setData( new ByteArrayInputStream( dataOut.toByteArray() ) );
    foProcessor.setTemplate( “example.xsl” );
    String xliffFileNameAndPath = getXLIFFFile( “example”, locale );
    if( xliffFileNameAndPath != null )
    foProcessor.setXLIFF( xliffFileNameAndPath );
    foProcessor.setOutput( "example.pdf" );
    foProcessor.setOutputFormat(
    outputFormat == PDF_FORMAT ? FOProcessor.FORMAT_PDF : FOProcessor.FORMAT_HTML );
    foProcessor.generate();
    The method getXLIFFFile( ) gets the relevant XLIFF file for the supplied report locale (if it exists) – the three test files that we used were Italian (example_it_IT.xlf), Spanish (example_es_ES.xlf) and Arabic (example_ar_AE.xlf).
    I imported the following JAR files from the XML Publisher release (version 5.6.2) into my Java application: collections.jar, i18nAPI_v3.jar, versioninfo.jar, xdocore.jar and xmlparserv2.jar.
    The output is OK for all three translations in HTML format, using a charset of UTF-8, and for Italian and Spanish in PDF format. However, the Arabic characters display as question marks in PDF format. The same issue occurs if I stream the output as a byte array straight to the HTTP response rather than save within a file.
    Note that the same RTF, XDT and XLIFF files produce the correct output in both HTML and PDF when executed within XMLPublisher.
    Thank you

    Hi
    I had a similar issue with arabic chars. With PDF layout, chars were appearing properly when preveiwd on local m/c, but as I implement file on server, it was displayed as ?????. I had raised a TAR 5798348.993 with oracle about this and they suggested to apply patch 4028294 Oracle Sourcing J Rollup and then patch 4182914. But later my users changed requirement and i cud not apply the patch to test if it works fine.
    But here, you have suggested that installing fonts would do. Is it really that simple? If yes, dont know what is that patch for which I was told to apply.
    Regards
    Varun

Maybe you are looking for

  • VOF dilemma - will stripping EXE's etc. hurt VOF?

    Dilemma - since VOF (Virus Outbreak Filters) are the last step in the message pipeline, do you hurt VOF performance by stripping attachments with filters? Specifically for attachment types you never would allow in anyway (EXE, COM, etc)? Scenario One

  • Best practices for hierarchy within project?

    I am looking for some advice, here is my situation: I have am using Labview and the DSC module to create an HMI for a customer.  I am connecting through OPC to a PLC, and I have access to over 1000 tags.  I don't use them all at the same time, but th

  • Grant management process in SAP

    Hi! I am working for Dairy industry project. Our client is having Daiary cooperative Societies as share holders,Vendors & customers. I am planning to create Vendor code and customer code seperate and assign customer code/vendor codes in respective ma

  • Just reporting - realtime MJPEG compression!

    Now that 4.1 has fixed AME, just want to report that I'm getting realtime compression using the LEAD MJPEG codec. My 8-1/2-minute video takes just under 8 minutes to output. This is creating a 4.4Gb file, 1280x720, 30fps with Quality @ 20.

  • Lightroom 5 Doesn't Launch Browser to Authorize Facebook

    I'm using Lightroom 5 on a Windows 8 machine and every time I try to go and authorize Lightroom in Facebook, nothing happens. Here's what happens: 1. I click Set up for the Facebook Publish Service in Lightroom. 2. The Publishing Service Manager open