UIwebview load local html file problem

Hi,
load local html file into UIwebview the TD cell data can't display, as attached the "2817 MODEL" column data lost on screen:
The local html file souce as:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  <head>
    <title>IBM z196 zEnterprise 2817 Mainframe Reference - Technology News</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta name="robots" content="index,follow">
    <meta name="Author" content="Hesh Wiener">
    <meta name="Formatter" content="Heshomatic 6.2">
<STYLE TYPE="text/css">
<!--
BODY
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
A:link{color:white}
A:visited{color:yellow}
-->
</STYLE>
  </head>
  <body>
    <h2>
      IBM Mainframes:<br>
       IBM z196 zEnterprise 2817 Mainframe Reference
    </h2>
    <table border="1" style="border-collapse:collapse;" summary="2094 series economic specs">
      <tr>
        <th rowspan="2">
            2817  <br>
             MODEL  
        </th>
        <th rowspan="2">
          FIRST<br>
           AVAIL
        </th>
        <th rowspan="2">EST  INIT<br>
        US PRICE  </th>
      <th rowspan="2"> EST INIT <br>
      MIN US MAINT</th>
        <th rowspan="2">
          APPROX MIPS
        </th>
        <th rowspan="2">
          SW PRICE<br>
           MSU
        </th>
        <th>
          LSPR RELATIVE PERFORMANCE
        </th>
      </tr>
      <tr>
        <th>
          MI z/OS 1.11
        </th>
      </tr>
  <tr>
    <td>2817-401</td>
    <td>3Q 10</td>
    <td>$975,000</td>
    <td>$6,280</td>
    <td>240</td>
    <td>30</td>
    <td>0.43</td>
  </tr>
  <tr>
    <td>2817-402</td>
    <td>3Q 10</td>
    <td>$1,187,000</td>
    <td>$6,729</td>
    <td>459</td>
    <td>58</td>
    <td>0.82</td>
  </tr>
  <tr>
    <td>2817-501</td>
    <td>3Q 10</td>
    <td>$1,244,000</td>
    <td>$7,524</td>
    <td>588</td>
    <td>74</td>
    <td>1.05</td>
  </tr>
  <tr>
    <td>2817-403</td>
    <td>3Q 10</td>
    <td>$1,385,000</td>
    <td>$8,346</td>
    <td>672</td>
    <td>85</td>
    <td>1.20</td>
  </tr>
  <tr>
    <td>2817-601</td>
    <td>3Q 10</td>
    <td>$1,423,000</td>
    <td>$9,434</td>
    <td>768</td>
    <td>97</td>
    <td>1.37</td>
  </tr>
  <tr>
    <td>2817-404</td>
    <td>3Q 10</td>
    <td>$1,570,000</td>
    <td>$10,665</td>
    <td>879</td>
    <td>110</td>
    <td>1.57</td>
  </tr>
  <tr>
    <td>2817-405</td>
    <td>3Q 10</td>
</html>
Please help. thanks
Regards,
HC

add colspan into td tag and try it got same problem, I just discovered the td data is numeric it can't display, change td data to alphanumeric it workable to normal display.
below td tag data is unworkable:
<td>2817-401</td>
<td>2817401</td>
change to below is workable:
<td>2817*401</td>
<td>281740A</td>
<td>2817-401A</td>

Similar Messages

  • How to load local html-file into webBrowser tool? [SDK 6.5]

    The webbroser tool lets you load an external html by inputting the adress in its "Url"-property.
    But how do you load a local html-file that is added to your project? Lets say the path is: Folder1/Subfolder1/Webpage1.html. What would I put in the Url-property to make this work?
    While on this subject, what is the support for css and javascript when using locally loaded webpages in the webbrowser?

    Thanks for the answer Malleswar, but I have now played around with all variations of that code-line that I can think of, but still I can not locate the html-file that is located within the project. Since Im planning to distribute the html-files with the executable (as one file) it should read it directly from wherever the application is installed.
    The html-file is included within the project. Solution Explorer -> Solution 'myProject' -> myProject -> Webpage1.html
    Which is (as usual) also where the Form1.cs (which contains the webBrowser-component) is located.
    Any ideas of how the Uri should be constructed in this case?
    Thanks,
    Daniel

  • FF 10: cannot load local html files by dragging to FF; links in email don't open

    Just upgraded to FF 10. I cannot open a local html file by dragging it to to FF, or by clicking the file name. Clicking the file name brings up an error message: There was a problem sending the command to the program. Dragging just shows a circle with a slash.
    I can open a local file by typing "file///<file location>" in the location bar.
    Also, clicking a link in an email to any site does not open the site.

    Hi,
    Please see [http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox this]. You can start Firefox in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode] to check if an add-on is causing the problem. You can also try to '''Open with''' by right-clicking on the HTML file and choose Firefox and enable '''Always use the selected program to open this kind of file'''.

  • StageWebView on android jellybean loading local html

    Hi,
    I'm having trouble loading local html files into a local loaded html wrapper using ajax.
    this only happens in JellyBean, iOs and pre-JB is okay. i tracked it down to JB using stricter cross domain policies.
    see this stackOverflow thread. http://stackoverflow.com/questions/14560453/loading-local-html-with-load
    Could AIR please expose the following property on the webview: setAllowUniversalAccessFromFileURLs(true);
    Or if anybody has a workarround, that would be great!
    Tom

    Hi Tom,
    I am experiencing the same problems. Because of this, our team is still using AIR 3.5.
    Somebody just opened a bug report. You should probably follow it closely: https://bugbase.adobe.com/index.cfm?event=bug&id=3610032
    Greets
    kelvin

  • Opening local .html files on iPad

    I have created a personal homepage that I have loaded on my Macs at home. Any way I can use this file on my iPad 3?

    It is possible to open local HTML files in Safari on iPad2. Easy!
    Open your Safari.
    Touch Bookmark icon for a little while.
    A dialogue box appears with "/var/Mobile" title.
    Go to "Applications" > your app (iFile, GoodReade or whatever yours) > Documents.
    And you are there. Open your HTML files.
    Now you can go anywhere to and fro without problem.
    It is FTP:///.
    If need later, Bookmark that.
    With Loving-Kindness!
    bhikkhusirin

  • How to display local HTML file in web-view?

    Hello everyone,
    we have no problem with showing of remote HTML content from server in box on page in web view. But how we can show such a content when included in HTMLResources? In guide is just "Display a local HTML file in an in-app browser", which works wihout problem, but we don't want to show this HTML content in in-app viewer, it should be part of page.
    Thanks
    Martin

    Now i'm confused. In guide is this:
    To use local HTML files, click the folder icon and specify the local HTML file. The HTML file (such as index.html) should appear in a folder that includes any images or scripts used in the HTML file.
    But no info where such a local HTML file should reside. If this file is in HTMLResources, it is ignored.

  • Loading local swf files from Application Dir (ios)

    Hi Guys,
    I would like to load additional local swf files to my ios release build but I am confused a little bit because of the new API changes.
    As far as I know at the moment (from Air 3.7 or newer) it is allowed to load local swf files that contains compiled actionscript both from local folder and from a predefined remote host as well. 
    My assumption based on this article:
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/
    I created the text file to include all of my local swf file names and created the following node in the application.xml:
    <iPhone>
           <externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs>
    </iPhone>
    When I compile the release build (ipa) using command line adt, it converts all of my local swfs into the stripped swfs which is perfect, but even though I include all the swfs in the compiler command, it puts only the SampleSWFInfoFile.txt file into the assets folder in the ipa but not the swf files.
    I assume, it thinks I will load these files from an external host, but I would like to include them in the app itself.
    I tried to copy the stripped swf files from the externalStrippedSwfs folder and comment the <externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs> node in the application.xml and compile it and this way it puts the swf files into the ipa, but when I try to install and launch the app it crashes and when I test it using Flash Builder it shows an error message
    "VerifyError: Error #1042: Not an ABC file."
    Do any of you guys know the  solution for this problem?
    Thank you for your help in advance!

    You're publishing in AOT mode as long as you use one of these:
    The AIR Developer Tool or ADT has targets that lets you package apps either for the AOT mode or Interpreter mode. The targets for packaging in AOT mode are ipa-app-store, ipa-ad-hoc, ipa-test and ipa-debug.
    Flash Pro CS6 and Flash Builder automate this process pretty well so it's invisible but the SWF loads and executes code just fine for me when directly published.
    If I take it to command line I can use this to compile successfully (iPad test app):
    adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore my.p12 -provisioning-profile my.mobileprovision NameOfApp.ipa NameOfApp-app.xml NameOfApp.swf iTunesArtwork iTunesArtwork@2x AppIconsForPublish swfs/swfs.txt swfs/GenerateText.swf
    I at least include generic icons in there but I made a 'swfs' folder and placed 'swfs.txt' and 'GenerateText.swf' in there. The SWF uses code to randomly generate text and changes every second using a Timer. I load it in using the same code you do with the ApplicationDomain.currentDomain context. I see the SWF appear and text start randomly changing.
    As I compile there's a folder generated called 'externalStrippedSwfs' with the stripped SWF in there.
    One thing to note is I do not supply <externalSwfs>swfs/swfs.txt</externalSwfs> in my iPhone settings. If I do that it doesn't work. I supply the path to the text file containing the SWF I want to be stripped to adt itself along with the SWFs I want stripped and it takes care of the rest.

  • WebView with local html file

    How can I use webview to display a local html file?

    Here is a link that will help:
    "How To Read a File From Your Application Bundle"
    http://iphoneincubator.com/blog/data-management/how-to-read-a-file-from-your-app lication-bundle
    but basically you do this:
    // urlLocation is of type (NSURL *) and
    // webView is of type (UIWebview *)
    NSString *filePath = \[\[NSBundle mainBundle\] pathForResource:@"MyFileName" ofType:@"html"\];
    urlLocation = \[NSURL fileURLWithPath:filePath\];
    \[webView loadRequest:\[NSURLRequest requestWithURL:urlLocation\]\];
    ALSO, make sure your html file is part of your project so that it's also part of the bundle.
    Hope this helps!

  • Send local html files to Browser

    I have a Servlet program which can send any HTML files located on the computer which Tomcat is running to client browser. The HTML files are not necessarily in Tomcat's "webapps" folder. My method is quite simple. Read the content of the local HTML file and write it out through HttpServletResponse object. But there is problem that if the HTML file includes images, the images don't appear in client browser. Is there a way to send those images to client browse as well? Thanks in advance.

    Well, this is just an idea, but:
    You would probably have to create a new Servlet, that will identify the image type, set the correct content type (response.setContentType("image/gif") for example). It would have to get a binary InputStream to the image and copy the input to the output stream in the response(use the getOutputStream and not getWriter...)
    In your HTML writing servlet you would have to scan each line for an <img ... > tag parse out the source and replace it with the image servlet.
    Locating the image may be problematic if it is not given in absolute "file://" url. You may need to scan for a <base> tag in the HTML as well, or use the HTML page's directory for the path in which to find the image... but it could come in more complicated then that depending on how complicated the HTML was written (ie, for a server with multiple hosts, or with aliased paths...)
    Or, you might be able to write a filter that looks for images(*.gif *.jpg) and sends the request to your image servlet....

  • StageWebView for Local HTML file

    I simply cannot get this to work.  I see a lot of people offering advice on the web for how to implement it, I've been trying all day and it doesn't work with Adobe AIR 2.5 for Android Flash CS5 plug-in.
    Instead of linking to an external website:
         webView.loadURL(http://www.google.com);
    I want to use StageWebView (because of the nice scroll capability) to load a local html file.  I have tried EVERYTHING, and it doesn't work.
    I have included the file in the APK (tried as a subdirectory and eventually, to simplify testing, I just included it in the same directory so no complex path).
    I have tried what others had recommended:
        webView.loadURL("test.html");
    I have tried using the filesystem and resolving the path:
        import flash.filesystem.File; 
        var file:File = File.applicationDirectory.resolvePath("test.html") ;
        webView.loadURL(file.nativePath) ;
    I have tried numerous change-ups on the filesystem approach, including:
        var file:File = new File("app:/test.html");
    and
        webView.loadURL(file.url);
    NONE OF THESE THINGS WORK.  Can anyone help me?  I'd like to have scrollable content, included inside the Android app - like a license html file or others.
    If none of this will work, any suggestions on creating simple, scrollable content that looks nice (scroll pane, scroll list, anything?)

    Hi Joe,
    can you show code snippet for the 1st solution? With loadString you can't load anything else into that page (i..e stylesheet)
    Edit: soon after I've posted this question I have found a solution:)
    var resultsPageUrl:String = File.applicationDirectory.resolvePath("output-html/result_html_pattern.html").nativePath;
    //and later
    webView.loadURL(resultsPageUrl);
    Edit2: above was just enough to have it working in adl still no joy
    Here is an example of temporary file being loaded, this works, http://forums.adobe.com/message/3443946
    var source:File = File.applicationDirectory.resolvePath("output-html");//copy entire folder (with css)
    var destination:File = File.applicationStorageDirectory;
    source.copyTo(destination, true);//copy to the application storage
    //get path to the html page within copied folder
    var resultsPageUrl:String = "file://" + destination.resolvePath("result_html_pattern.html").nativePath;
    best regards

  • HTMLLoader - local HTML file with remote access

    Hi,
    I use the HTMLLoader to load a local HTML file. (AIR
    development with Flash)
    In this local HTML file is a remote JavaScript, which I need.
    It doesn't work, because of the sandbox.
    But is it possible to deactivate the sandbox or anything
    else, that I can use the local HTML file with remote access?

    Hi,
    I use the HTMLLoader to load a local HTML file. (AIR
    development with Flash)
    In this local HTML file is a remote JavaScript, which I need.
    It doesn't work, because of the sandbox.
    But is it possible to deactivate the sandbox or anything
    else, that I can use the local HTML file with remote access?

  • Local html file path setting

    Hi,
    I tried to use StageWebView to load a local index.htm which is saved in "src/assets" folder for Flex 4.5 mobile.
    I've tried different path settings but all failed. Please help, thanks!
    protected var webView:StageWebView = new StageWebView();
    protected function onViewActivate(event:ViewNavigatorEvent):void
      webView.stage = stage;
      webView.viewPort = new Rectangle(20, 100, 450, 450);
      webView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onURLChange);
      // StageWebView can't load the html file.
      // webView.loadURL("file://assets/index.htm"); 
      // webView.loadURL("assets/index.htm");  
      addEventListener(ViewNavigatorEvent.REMOVING,onRemove);

    That's quite alright. These forums are one of the best places to start learning!
    Unfortunately, Acrobat doesn't offer much flexibility when it comes to saving the data file produced when you export/submit data from the form. While you can't preset the path, you do have a little bit of control over the data file name which should, by default, be the same as the name you gave to the file containing the form (XDP/PDF). The catch is that if your form is loaded via a browser, it'll first get saved to a temporary folder and temporary file name. When the user exports the data and the XML data file is created, it'll have the temporary file name as its default file name (which will be bunch of letters and numbers, e.g. "FSA1U483.xml").
    I think you would be best to let Acrobat's UI take care of letting the user specify the folder and file name.
    Stefan
    Adobe Systems

  • Parse local HTML files

    Hi,
    I want to parse local HTML files.
    Is there another way than using the Internet Explorer($ie = new-object -com "InternetExplorer.Application";) (without relaying on external packages)?
    At the moment I do something like that:
    $ie = new-object -com "InternetExplorer.Application";
    Start-Sleep -Seconds 1
    $ie.Navigate($srcFile)
    Start-Sleep -Seconds 1
    $ParsedHtml = $ie.Document
    foreach($child in $ParsedHtml.body.getElementsByTagName('table'))
    I still want to have the methods like 'getElementById()' or 'getElementByTagName()'.
    With my current approache, the performance is not realy good and it seems that the iexplorer.exe process is not terminating at the end of the script. 
    Also it seems to have sideeffects with running internet explorer instances (from GUI) - not working to start IE in powershell sometimes.
    Last time I also have a hanging script, not continuing till i manually terminate the iexplorer.exe process.
    The error was:
    Exception calling "Navigate" with "1" argument(s): "The remote procedure call f
    ailed. (Exception from HRESULT: 0x800706BE)"
    At D:\Scripts\Run.ps1:529 char:14
    + $ie.Navigate <<<< ($src)
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    so I would prefere a method parsing HTML without IE.

    Hi John Mano,
    Please also try to Parse local HTML files with
    System.Xml.Linq, the script may be helpful for you:
    Using PowerShell to parse local HTML files  
    I hope this helps.                               
    XML?
    I thought HTML is not compatible with xml. 
    And as I don't know LINQ good ... 
    Ok, I'll give it a try. later.
    I can't answer the question about other ways to parse HTML, but to close your IE session you should do the following:
    $ie.Quit() # this terminates the IE process
    $ie = $null # this frees the COM object memory
    Thanks for that.
    I now use that, but seems to be still some IEs open ...
    Maybe a path missing where i dont do it.
    But finally I still get this error. And it is blocking the whole script ...
    Exception calling "Navigate" with "1" argument(s): "The remote procedure call f
    ailed. (Exception from HRESULT: 0x800706BE)"
    At E:\DailyBuild\Scripts\PublishTestResults.ps1:533 char:15
    + $ie.Navigate <<<< ($srcFile)
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation

  • How to load an html file

    Hi, I'm a beginner and I need to do a program that display a
    tree at the left of the screen and a textfield at the right. I load
    the tree's elements from a txt file whit loadVars but how can I
    introduce the code from textEnhancements.fla to load an html file
    at the begining of the flash movie. This is my code.
    var dateVars = new LoadVars();
    dateVars.onLoad = function(ok) {
    if (ok) {
    //** Cargamos la lista de las paginas correspondientes al
    concepto
    paginas_web = dateVars.pags_web;
    lista_conceptos = paginas_web.split("@");
    //** Cargamos los titulos correspondientes para cada pagina
    paginas_tit = dateVars.pags_titulos;
    lista_titulos = paginas_tit.split("@");
    //** Convertimos la lista de titulos en los elementos del
    arbol a la izquierda
    for (i=0; i<=(lista_titulos.length-1); i++) {
    arbol_conceptos.addTreeNode(lista_titulos
    , lista_conceptos);
    // carga arbol y variables
    dateVars.load("concepto.txt");
    html_contenido.multiline= true;
    html_contenido.wordWrap = true;
    html_contenido.html = true;
    story = new XML();
    story.ignoreWhite = true;
    story.onLoad = function () {
    html_contenido.htmlText = story;
    story.load("01pagweb.htm");
    Thanks a lot. I'm mexican. =)

    HTML
    support in flash 8

  • Is it possible to load an html file on a frame

    Is it possible to make a java applet refresh(load) an html file which is loaded on different frame in the same browser window. In other words a web page is divided into 2 frames. One has the applet and the other is refreshed when the applet request it.
    Thanks

    Try something like :
    URL urlApplet = new URL(appletAddress);
    // "rightFrame" is the name of the frame in the page
    getAppletContext().showDocument(urlApplet,"rightFrame");
    And a HTML page like:
    <FRAMESET cols="35%, 65%" rows="100%">
    <FRAME SRC="/AppletBrowse/AppletBrowse.html" NAME="leftFrame" SCROLLING="auto">
    <FRAME SRC="/AppletResult/AppletResult.html" NAME="rightFrame" SCROLLING="auto">
    </FRAMESET>
    Is it what u want to do??

Maybe you are looking for

  • Reg : Error in entilement system of SAP.

    As I'm getting the below mentioned error . JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc http://no sapjcorfc in java.library.path. java.

  • ME80FN evaluation regarding Purchase Order History (Execute in BackGround)

    Hi, I need your help regarding the follwowing Situation: I want to make an avaluation regarding the Purchase Order History for a few thousend of purchase orders in ME80FN. Becasue of the big amount of purchase orders I have to execute the program in

  • Remove disk0s1 partition

    How do you remove an accidently created a disk0s1 partition?

  • Co-Product Planned Order

    Dear Guru's, I am executing Long-Term Planning through T-Code MS02. Material BOM also contains co-product. System does not creating Planned Order for CO-PRODUCT but showing simulative requirement. Is there any way or option to create plan order throu

  • Problems executing vo query from am class

    Hi Gurus, I have a big one right now, when I'm trying to execute VO query throws me an exception "JBO-27122" I wonder if you could tell me what I'm doing wrong, I hope you can help me, I'll be pending to your answer... have a nice one. let me share y