HTML parsing, AttributeSet.getAttribute() doesn't work

I parsed a website using javax.swing.text.html.parser.
When I get a javax.swing.text.html.parser.Element, elem, I used elem.getAttributSet to get the AttributeSet of elem, atts. Then I used atts.getAttribute(HTML.Tag.FORM) to get the surounding form tag. This works fine in jdk 1.3.8, but for jdk 1.4.2 and after, it just return null.
Is this a parsing bug for Java? Is there any way to get arround this problem?

Well, it won't work as iWeb has no import facility so cannot open html files.
What you could do is upload the html file to wherever you are hosting your site and create a link to it from iWeb, or find another package similar to the one you are using at present that is for Mac rather then PC.

Similar Messages

  • PLEASE : JAVA PARSER SCHEMA XML doesn't work

    Hi,
    I search how can I parse a xml document with schema, which works with Sun'SAX in JAVA.
    I have no real idea to it, but I think that JAXP can work (is it a good idea?)
    I have found this exemple :
    http://dataml.net/articles/ValidateXMLSchema/part1.htm
    This example is often posted in the forum, but for me it doesn't work, and you? have you had a probleme with it?
    Have you others examples which work or tutorials for parse xml with schema with SAX in java?
    Furthermore what are the specifics recommandations to install JAXP ?
    Thanks a lots.

    Nobody can help me?
    please

  • Using DOM to parse SOAP fault doesn't work properly

    why, when I run the following:
    import java.io.IOException;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class ParseFaultDom {
    public void operation(String uri) {
    System.out.println("Parsing XML File: " + uri + "\n\n");
    String faultCode = "";
    String faultString = "";
    try {
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(uri);
    // should only be one apiece here
    NodeList faultCodes = document.getElementsByTagName("faultcode");
    NodeList faultStrings=document.getElementsByTagName("faultstring");
    Node codeNode = faultCodes.item(0);
    Node stringsNode = faultStrings.item(0);
    faultCode = codeNode.getNodeValue();
    faultString = stringsNode.getNodeValue();
    System.out.println("code: " + faultCode);
    System.out.println("string: " + faultString);
    } catch(ParserConfigurationException e) {
    System.out.println("Error creating parser: " + e.getMessage( ));
    } catch(IOException e) {
    System.out.println("Error reading URI: " + e.getMessage( ));
    } catch (SAXException e) {
    System.out.println("Error in parsing: " + e.getMessage( ));
    public static void main(String[] args) {
    if (args.length != 1) {
    System.out.println("Usage: java ParseFault [XML URI]");
    System.exit(0);
    String uri = args[0];
    ParseFaultDom pfd = new ParseFaultDom();
    pfd.operation(uri);
    giving it the following xml file as input:
    <?xml version='1.0' encoding='UTF-8'?>
    <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap-envelope/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <s:Body>
    <s:Fault>
    <faultcode xsi:type="xsd:string">Client</faultcode>
    <faultstring xsi:type="xsd:string">
    Invalid value given for identifier field: "-1".
    </faultstring>
    <details>
    <a>a</a>
    <b>b</b>
    <c>c</c>
    </details>
    </s:Fault>
    </s:Body>
    </s:Envelope>
    do I get the following output:
    Parsing XML File: fault.xml
    code: null
    string: null
    In other words, it finds the tags I'm looking for, but it isn't getting the tag value, apparently.... I can add more instances of each tag, or delete them altogether, and the program raises the appropriate errors.... so it's is finding the tags inside the file, it just apparently doesn't pick up the value for some reason....
    thanks anyone who can help... this should be simple, but it doesn't want to work for me... bad karma?

    First of all, thanks a million for posting replies to my first two posts on these forums, you don't realize how much you have helped me. I feel bad for not assigning duke dollars so you could get them, so I owe you a few :)
    Anyway, I see what was going on now, my thinking was at first that a Node consisted of a tag and it's value, and now I see that those are each a distinct Node element. So now I see that the enclosed text is itself a separate Node object, so I needed to get the child node of codeNode and then call getNodeValue on it to get the text I was looking for... ah, the life of a programmer...
    anyway, thanks again!!!

  • HTML Page Transition code doesn't work in FireFox

    when programming html page transition, either a page enter/exit or a site enter/exit, the transition code does not work in FireFox .. any fix or have i missed something. I.E page fade in or page fade out on exit

    you have a security sandbox issue or popup blocker.
    test with your swf/embedding html uploaded to a server.

  • Animated GIF doesn't work against dark backgrounds in HTML

    I've created an animated GIF in Photoshop, exported it for web with transparency, and placed it in my HTML code. It doesn't work against the dark background on my page. However, when I open the image in a new browser tab, voila, the animation works precisely as it should.
    Why is the background affecting the animation and how can I work around this?

    Hello Frank,
    problem is solved.
    I have installed IE7 on a Windows 2003 Server Edition and used remote desktop client to test the application.
    It seems that either a setting on W2003 or the remote desktop client avoid to see the animation.
    On locally installed IE7 animated gif's works fine.
    regards
    Peter

  • Begin Javascript in Captivate - Doesn't work

    Hello
    I'm a beginner using Javascript in Captivate.
    I tried this :
    I create a new  bouton
    In Action section of Properties Box, I selected "Execute Javascript".
    In the script window, i writed :         alert("I Love Captivate");
    I generated my project in Html
    In the HTML output, the bouton doesn't work.
    Anybody knows why ?
    I'm using Internet explorer.

    You won't have to worry as long as your course content is being delivered from a web server.
    If you were delivering the content from a CD ROM they would need to set their CD ROM drive up as a trusted location.
    If you were delivering from a network LAN, they would need to set that location up too.
    So for what you are trying to do, web delivery is best.

  • Airport Express/Windows XP - Tried everything, doesn't work

    I'm trying to connect my windows XP machine to my airport express network. I've tried all the suggestions in http://tech.ifelix.net/2002.html and it still doesn't work. I can see my network but when I click on it, it tries to connect for about 30 seconds and then just gives up. I'm using a WPA password format, mostly because I couldn't figure out the WEP conversion. Settings include:
    Association: correct network name shows, Network Authentication: WPA-PSK (I've tried just WPA, same issue), data encryption: TKIP (tried AES, same issue).
    Authentication: Nothing checked, entire window greyed out
    I'm kind of at the end of my rope at this point. The PC connects to wireless networks outside of my house so I know it works, just not with my Airport Express. I also installed the AE software and it doesn't even detect my base station. When I click on AE Assistant, I get an error message that says "The AE Assistant found that Windows is not allowed to manage wireless networks on this computer. This can be as a result of having a 3rd party utility that manages wireless networks. For best results please allow Windows to manage wireless networks." What does this mean?
    Any assistance will be greatly appreciated.

    That message you received "The AE Assistant found that Windows is not allowed to manage wireless networks on this computer. This can be as a result of having a 3rd party utility that manages wireless networks. For best results please allow Windows to manage wireless networks" usually means theres another software program managing how your pc connects to wireless networks. For instance with each copy of Windows XP theres a built in wireless utility called Windows Zero Config or WZC. This is a really basic interface that simply shows the signal and what networks are with in range of your computer. When you purchase another wireless card or if your computer/laptop comes with wireless network card sometimes the manufacter will create a custom utility for it providing you extra features. For example my HP laptop has a netgear wireless card and the netgear software provides more information of wireless networks in range of you and more customizable settings for the wireless connection where as WZC does not.
    You usually can turn this off in the 3rd party utility or by right clicking on wireless icon in the lower right hand corner of the screen (usually a computer monitor icon with waves coming off of it) and choose the option view available wireless networks. There you would see a star icon that says manage wireless network settings if i remember (been awhile since ive looked at it) and from there you should see a check box that says allow windows to manage wireless networks. This once checked will allow the airport express software to manage wireless settings.
    After this is done you could try hard resetting your AEX and reconfigure it from the pc computer and insure your able to connect to it wirelessly. Then once thats done just connect the other computers to it.

  • Online help doesn't work

    I have just installed HTML DB stand alone release on my W2000 9.2.0.5 database.
    The install process worked fine.
    But the HTML DB online help doesn't work. when i click on the help icon the popup is there but with no contents.
    When i click on the link:
    Find (initial index creation may take several seconds)
    This errors appears:
    Error creating online help index.
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1022 ORA-12545: Connect failed because target host or object does not exist
    I thought that my oracle text was not or improperly installed because the CTXSYS account was locked. So i decided to reinstall it but with no success.
    I decided to reinstall HTML DB (local install this time)but again it doesn't work
    I searched in the forum, but it seems that nobody had meet the same issue, except HTMLDB.com (reinstall of oracle text was the solution)
    I would like to try this new product but with the online help
    Thanks in advance

    Just to clarify why this is happening this way.
    The online help contents are not loaded nor indexed at installation time. In a new installation, the very first time the help window is displayed and you click the 'Find' link, the help contents will be fetched and indexed using Oracle Text. They are fetched via HTTP by GETting them from the Oracle HTTP Server (they are static files under the images hierarchy, after all).
    The URLs to fetch the help documents are constructed using the SERVER_NAME CGI environment variable as a component of the URL. So at indexing time, the database will issue HTTP GET requests to a specific URL, and if this URL cannot be located or the name not resolved, then issues will arise like you have witnessed.
    Joel

  • Parsing in Weblogic/jsp doesn't work; application-mode (command-line) works

    Hello-
    Parsing my XML file in Weblogic/jsp doesn't work, whereas it works
    in application-mode... (albeit on two different machines)
    Here are the parameters:
    server1:
    weblogic 6.0
    win2k server
    jre1.3
    my personal machine:
    ***no weblogic***
    win2k server
    jre1.3
    When I run my code as an application (command-line style) on my machine,
    parsing in my xml file works fine, and I can do a root.toString() and it
    dumps out the entire xml file, as desired.
    However, running my code inside weblogic (on server1) in JSP, parsing in
    my file and doing a root.toString() results in the following: [dmui: null]
    (where dmui is my root)
    (even though i'm running it on two different machines, i'm positive its the
    same code (the servers share a mapped drive)...
    So, I think its probably because I'm using a different parser, as
    specified by weblogic? There are no exceptions being thrown. Here's my
    (abbreviated) code, which is called either command line style or in a JSP:
    // Imports
    import org.w3c.dom.*;
    import org.w3c.dom.Document;
    import javax.xml.parsers.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    DocumentBuilderFactory docBuilderFactory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    mDocument = docBuilder.parse (inFile);
    myRoot.toString()
    -END
    Doing a System.getProperty("javax.xml.parsers.DocumentBuilderFactory")
    results in:
    server1 (weblogic/jsp):
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
    my machine (application-mode):
    null
    Does anyone have any ideas about how to get this work? Do I try to set it
    up so that they both use the same parser? Do I change the Weblogic parser?
    If so, to what? And how?
    Am I even close?
    Any help would be appreciated..
    Thanks, Clint
    "[email protected]" <[email protected]> wrote in message
    news:[email protected]...
    No problem, glad you got it worked out :)
    ~Ryan U.
    Jennifer wrote in message <[email protected]>...
    I completely missed setting the property(:-o), foolish mistake. That wasit. Thanks.
    "j.upton" <[email protected]> wrote:
    Jennifer,
    Personally I would get rid of import com.sun.xml.parser.* and use xerces
    which comes with WLS 6.0 now, unless like I said earlier you have a need
    to
    use the sun parser :) Try something like this with your code --I've put
    things to watch for as comments in the code.
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.w3c.dom.*;
    import java.io.FileInputStream;
    public class BasicDOM {
    public BasicDOM (String xmlFile) {
    try{
    FileInputStream inStream;
    Document document;
    /*You must specify a parser for jaxp. You can in a simple view
    think
    of this as being analogous to a driver used by JDBC or JNDI. If you are
    using this in the context of a servlet or JSP and have set an XML
    registry
    with the console this happens automatically. You can also invoke it in
    the
    context of an application on the command line using the -D switch. */
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
    >>>
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    // create a document factory
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    // specify validating or non-validating parser
    dbf.setValidating(true);
    // obtain a factory
    DocumentBuilder db = dbf.newDocumentBuilder();
    // create a document from the factory
    inStream = new FileInputStream(xmlFile);
    document = db.parse(inStream);
    }//try
    catch (Exception e)
    System.out.println("Unexpected exception reading document!"
    +e);
    System.exit (0);
    }//catch
    }//BasicDom
    // Main Method
    public static void main (String[] args) {
    if (args.length < 1)
    System.exit(1); file://or you can be more verbose
    new BasicDOM(args[0]);
    }//class
    =============================================
    That will give you a basic DOM you can manipulate and parse it fromthere.
    BTW this code
    compiled and ran on WLS 6.0 under Windows 2000.
    Let me know if this helped or you still are having trouble.
    ~Ryan U.
    "Jennifer" <[email protected]> wrote in message
    news:[email protected]...
    Actually I included com.sun.xml.parser.* as one last febble attempt toget
    it working.
    And as for source code, I included the code. If I just put that oneline
    of code
    in, including the imports, it fails giving me an error listed above inthe
    subject
    line. Here is the code again:
    package examples.xml.http;
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.*;
    import java.util.*;
    import java.net.*;
    import org.xml.sax.*;
    import java.io.*;
    public class BasicDOM {
    static Document document;
    public BasicDOM (String xmlFile) {
    try {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    } catch (FactoryConfigurationError e){
    System.err.println(e.getException());
    e.printStackTrace();
    // Main Method
    public static void main (String[] args) {
    BasicDOM basicDOM = new BasicDOM (args[0]);

    Hi, Rob
    Does it work in WL9.2?
    It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
    I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
    <weblogic-web-app>
    <container-descriptor>     
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <!-- reminder: this webapp contains
    prefer-web-inf-classes -->
    <module-uri>webapp</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>mdb.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all.

  • Attempting to use HTML parser - getAttribute() not preforming as expected.

    How am I mis-using getAttribute()?
    I am expecting (String)a.getAttribute((String)"name") to give me a value other than null in the below example. What am I doing wrong?
    The HTML test source (missing headers/body so yes its not proper)
    <input name="unit_1" size=5 maxsize=5 value="hr">
    <input name="qty_1" size=5 value=4>
    <input name="unit_1" size=5 maxsize=5 value="hr">
    <input name="partnumber_1" size=10 value="Java Work">
    <input name="description_1" size=50 value="Slip shod work at outragous prices">
    <input name="sellprice_1" size=9 value=185.00>
    <input name="discount_1" size=3 value=>
    What I'd like to see is this:
    About to parse test
    Parsing error: invalid.tagattmaxsizeinput? at 39
    Tag start(<html>, 1 attrs)
    Tag start(<head>, 1 attrs)
    Tag end(</head>)
    Tag start(<body>, 1 attrs)
    Tag(<input>, 4 attrs)
    found input
    unit_1
    hr
    Tag(<input>, 3 attrs)
    found input
    qty_1
    4
    Rather than this:
    About to parse test
    Parsing error: invalid.tagattmaxsizeinput? at 39
    Tag start(<html>, 1 attrs)
    Tag start(<head>, 1 attrs)
    Tag end(</head>)
    Tag start(<body>, 1 attrs)
    Tag(<input>, 4 attrs)
    found input
    null
    null
    Tag(<input>, 3 attrs)
    found input
    null
    null
    The code that reads the HTML and give the output looks like this:
    import java.io.*;
    import java.net.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    import javax.swing.text.html.parser.*;
    * This small demo program shows how to use the
    * HTMLEditorKit.Parser and its implementing class
    * ParserDelegator in the Swing system.
    class DataSaved {
    String InputName;
    String InputValue;
    boolean IsHidden;
    public class HtmlParseDemo {
    public static void main(String [] args) {
    DataSaved DataSet[];
    Reader r;
    if (args.length == 0) {
    System.err.println("Usage: java HTMLParseDemo [url | file]");
    System.exit(0);
    String spec = args[0];
    try {
    if (spec.indexOf("://") > 0) {
    URL u = new URL(spec);
    Object content = u.getContent();
    if (content instanceof InputStream) {
    r = new InputStreamReader((InputStream)content);
    else if (content instanceof Reader) {
    r = (Reader)content;
    else {
    throw new Exception("Bad URL content type.");
    else {
    r = new FileReader(spec);
    HTMLEditorKit.Parser parser;
    System.out.println("About to parse " + spec);
    parser = new ParserDelegator();
    parser.parse(r, new HTMLParseLister(), true);
    r.close();
    catch (Exception e) {
    System.err.println("Error: " + e);
    e.printStackTrace(System.err);
    * HTML parsing proceeds by calling a callback for
    * each and every piece of the HTML document. This
    * simple callback class simply prints an indented
    * structural listing of the HTML data.
    class HTMLParseLister extends HTMLEditorKit.ParserCallback
    int indentSize = 0;
    protected void indent() {
    indentSize += 3;
    protected void unIndent() {
    indentSize -= 3; if (indentSize < 0) indentSize = 0;
    protected void pIndent() {
    for(int i = 0; i < indentSize; i++) System.out.print(" ");
    public void handleText(char[] data, int pos) {
    pIndent();
    System.out.println("Text(" + data.length + " chars)");
    public void handleComment(char[] data, int pos) {
    pIndent();
    System.out.println("Comment(" + data.length + " chars)");
    public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) {
    pIndent();
    System.out.println("Tag start(<" + t.toString() + ">, " +
    a.getAttributeCount() + " attrs)");
    indent();
    public void handleEndTag(HTML.Tag t, int pos) {
    unIndent();
    pIndent();
    System.out.println("Tag end(</" + t.toString() + ">)");
    public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) {
    String name;
    String value;
    boolean hidden;
    pIndent();
    System.out.println("Tag(<" + t.toString() + ">, " +
    a.getAttributeCount() + " attrs)");
    if( t==HTML.Tag.INPUT) {
    System.out.println("found input");
    name = (String)a.getAttribute((String)"name");
    value = (String)a.getAttribute((String)"value");
    System.out.println(name);
    System.out.println(value);
    public void handleError(String errorMsg, int pos){
    System.out.println("Parsing error: " + errorMsg + " at " + pos);

    System.out.println( a.getAttribute(HTML.Attribute.NAME) );

  • My animation doesn't work in html page

    hi guys,i want you to help me , you know is so frustated to work for long being an animation and at the final doesn't work
    i've done an animation in flash using as3 code ,it's work perfetly.
    the problem is that when i insert it in my page nothing happens ,before to try with browser i test the swf with a play button in dreamweaver
    but nothing
    when i publized only the script is seen but the images not.
    i my server wamp on y computer under my folder for my website there is a folder named :images(for all images),on this folder i put the entire folder of my animation .
    but i don't know why it doesn't work
    i can say you all my animations with xml and AS3 in flash doesn't work in my page
    please give me a magic and quick solution
    thanks all of us for reading me
    my english isn't so much perfect
    bye

    thanks you for replying me
    but i solved it
    --- En date de : Lun 6.7.09, Nadia-P <[email protected]> a écrit :
    De: Nadia-P <[email protected]>
    Objet: My animation doesn't work in html page
    À: "augustine ngo ndjel" <[email protected]>
    Date: Lundi 6 Juillet 2009, 11h06
    It is very hard to help you without
    seeing your page... do you have the files uploaded to a
    server?  Can you post a link, so people can look at the
    code to see if they can find a solution for you.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.dreamweaverresources.com/
    http://csstemplates.com.au/

  • Air HTML/JS WinXP - Font specified in CSS doesn't work in App

    I have an app that runs on several machines... on one of
    them, however, the font has started failing to load in my app. The
    App loads a web page and displays it. The font is installed locally
    on the machine. I can use it in IE and Wordpad, but the App doesn't
    see it.
    The other machines have no problems with the app. The machine
    has been upgraded to Air 1.5, but the App was built for 1.0. The
    font is an OpenType font.
    I have tried all manner of things to get the font to show up
    properly: Changing the CSS, making sure the font works properly,
    renaming and trying it. Removing the application's directory in
    \Application Data\.
    It looks like it's defaulting to Arial or some such font...
    the system default. The system has a Volari XGI video card in it.
    Could that be the problem? Is there a cache I need to clear?
    Thanks in advance!

    Hi zac,
    excuse me, but I'm confused too. Is your question really for: "css doesn't work in live view or f12"? To me it seems you have, more probably, questions about your website. If yes, let's start slowly. The first thing that strikes me is this:
    The reference to your banner-image must be one to "banner.jpg" file, not to a *.html.
    Maybe I can be in touch with you a later again, you know, here's Christmas stress!Hans-G.
    P.S.
    If my assumption regarding the threads is true, then please open a new one.

  • QuickTime movies cannot display properly, refresh doesn't work propely for html files on hard disk, opening a new tab doesn't work

    Hi!
    I have tried Firefox V4 (but have since reused V3.6.16). The following problems were found:
    a. Cannot display the controls used for QuickTime movies.
    b. The refresh button doesn't function at all if the html files reside on the hard disk. I do this because I need to test the appearance of the web page before uploading to the server.
    This problem also exists for v3.6.14 to v3.6.16
    c. When opening a new tab, it doesn't work. Instead, it will open another instance of the browser. By right, it has to open the web page on the same instance of the browser.
    This is my feedback.
    Thanks!!!!! :)

    I had some advice to try recording QT audio and adding to the slide.  Now, when recording to Quicktime, it does embed it, but in recording the presentation, it either doubles up the audio giving a strange echo or does the same thing if you ever edit the presentation.
    The problem Keynote has is that the sound and image content are not locked together which causes out of sync errors. This is why many users choose video editing applications when using sound in the presentations, as they have both image and audio tracks to sync sound properly together.
    Start a new presentation to remove the previous sound recording, Keynote is holding onto the other sound files.
    Add the graphic items to each slide and one sound file to each slide for the voice over
    1 - In Inspector > Transitions;  use start transitions automatically and set each transitions delay to the duration of the individual sound file.
    2 - In QT export, set Fixed Timing and delete the value in the duration box, QT will then use the custom timings for each individual slide.
    This procedure does work exactly as needed, Iv used this for nearly 6 years using 4 different versions of Keynote.

  • MDX Parser doesn't work

    Hello, everybody.
    Standart TCP/IP connection named "MDX Parser" doesn't work. It says "timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur".
    When I try to run mdxsvr in command line it says that librfc32.dll could not be found.
    And there is no such dll in the directory with mdxsvr, but there is a librfc32u.dll.
    How can I solve this problem?
    P.S.
    My server parameters:
    - IA64
    - Windows 2003
    - SAP NetWeaver 2004s
    best regards,
    Dmitry

    Thanks for all of the input everyone. We too was experiencing the RFC failure on 2 new BI application servers. The good thing is we had other servers that worked fine. So we were able to copy the c:\windows\system32\librfc32.dll from one server that was working to the servers that were failing.
    All of the posted helped me figure out that even though we are using 64Bit and unicode it actually need the librfc32.dll which appears to be non-unicode and of coarse 32bit. 
    The real trick was implementing the MS "Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update"
    http://www.microsoft.com/downloads/en/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en
    Once I installed that MS patch I could successfully register the dll  "regsvr32 c:\windows\system32\librfc32.dll"
    And then the RFC now tests from all application servers.
    Just to recap, our issue was the MDX Parser worked from the 2 nodes of the cluster and 2 application servers, but the 2 new servers the loads would fail if it happen to run on that server. running the RFC from that specific server would fail.
    Now all is good
    Thanks again

  • Servlet (html code doesn't work correctly on IE6)

    Hi, i've a problem with code html on servlet...my page works correctly with firefox but on IE6 i've a lot of bugs about table alignment and CSS looks like not exist . This is code that doesn't work:
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            PrintWriter out = response.getWriter();
            String context = request.getContextPath();
            response.setContentType("text/html");
            out.println("<html>");
            out.println("<head>");
            out.println("<title>RisultatoRicerca Servlet</title>");
            out.println("<link rel='stylesheet' type='text/css' href='"+context+"/css/cd.css'>");
            out.println("<script>");
            out.println("</script>");
            out.println("</head>");
            out.println("<body>");
            DbUtility utility = new DbUtility();
            GestioneCd gestioneCd =new GestioneCd();
            GestioneNoleggio gestioneNoleggio=new GestioneNoleggio();
            Cd cd = newCd();
    cd.setArgomento(request.getParameter("argomento")==null?"":request.getParameter("argomento"));
            cd.setEtichetta(request.getParameter("etichetta")==null?"":request.getParameter("etichetta"));
            cd.setUbicazione(request.getParameter("ubicazione")==null?"":request.getParameter("ubicazione"));
            int valoreRadio=request.getParameter("attivo")==null?0:Integer.parseInt(request.getParameter("attivo"));
            if (valoreRadio==1){
                cd.setAttivo(true);
            }else if (valoreRadio==2){
                cd.setAttivo(false);
            Connection con = null;
             LinkedList cdFromRisultatoRicerca=new LinkedList();
            try{
                con=utility.getConnection();
                cdFromRisultatoRicerca=gestioneCd.getRisultatoRicercaCd(con, cd,valoreRadio);
                ListIterator iterator = cdFromRisultatoRicerca.listIterator();
                int id=0;
                String argomento="";
                String etichetta="";
                String ubicazione="";
                out.println("<form name='visualizza' method='post'");
                out.println("<table align='center'>");  // NOT WORKS , table alignment not respected on IE6
                out.println("<tr><td colspan='9' align='center'></td></tr>");
                out.println("<tr><td colspan='9' align=center class='titolo'>Risultato ricerca</td></tr>");
                out.println("<tr>");
                out.println("   <td align='left' class='titolo'>Id</td>");
                out.println("   <td align='left' class='titolo'>Argomento</td>");
                out.println("   <td align='left' class='titolo'>Etichetta</td>");
                out.println("   <td align='left' class='titolo'>Ubicazione</td>");
                out.println("   <td align='center' class='titolo'>N.copie</td>");
                out.println("   <td align='center' class='titolo'>Disponibili</td>");
                out.println("   <td align='left' class='titolo'>Attivo</td>");
                out.println("   <td class='titolo'> </td>");
                out.println("   <td class='titolo'> </td>");
                out.println("</tr>");
                out.println("<tr>");
                out.println("   <td colspan='7' align='center'>");
                out.println("       <HR width='100%'>");
                out.println("   </td>");
                out.println("   <td> </td>");
                out.println("   <td> </td>");
                out.println("</tr>");
                int copie=0;
                while (iterator.hasNext()){
                    cd=(Cd)iterator.next();
                    out.println("<tr>"); // NOT WORKS, on IE6 lines appears not in a table
                    out.println("   <td>"+cd.getId()+"</td>");
                    out.println("   <td>"+cd.getArgomento()+"</td>");
                    out.println("   <td>"+cd.getEtichetta()+"</td>");
                    out.println("   <td>"+cd.getUbicazione()+"</td>");
                    out.println("   <td align='center'>"+cd.getCopie()+"</td>");
                    int copieNoleggiate=gestioneNoleggio.getCopieNoleggiate(con,cd);
                    int copieDisponibili=(cd.getCopie())-(copieNoleggiate);
                    out.println("   <td align='center'>"+copieDisponibili+"</td>");
                    out.println("   <td align='center'>");
                    if (cd.isAttivo()==true){
                        out.println("<img src="+context+"/immagini/pulsanteverde2.gif>");
                    }else{
                        out.println("<img src="+context+"/immagini/pulsanterosso2.gif>");
                    out.println("   </td>");
                    out.println("   <td>");
                    out.println("       <a href='javascript:;' onclick=\"javascript:window.open('"+context+"/servlet/ModificaCd?id="+cd.getId()+"','Modifica','width=500,height=300,top=200,left=300');\" target='main'>Modifica</a>");
                    out.println("   </td>");
                    if (cd.isAttivo()){
                        out.println("   <td>");
                        out.println("       <a href='javascript:;' onclick=\"javascript:window.open('"+context+"/servlet/ConfermaDisattiva?id="+cd.getId()+"','Disattiva','width=300,height=70,top=250,left=350');\" target='main'>Disattiva</a>");
                        out.println("   </td>");
                    }else{
                        out.println("   <td>");
                        out.println("       <a href='javascript:;' onclick=\"javascript:window.open('"+context+"/servlet/ConfermaAttiva?id="+cd.getId()+"','Attiva','width=300,height=70,top=250,left=350');\" target='main'>Attiva</a>");
                        out.println("   </td>");
                    out.println("</tr>");
                    out.println("<tr>");
                    out.println("   <td colspan='7' align='center'>");
                    out.println("       <HR width='100%'>");
                    out.println("   </td>");
                    out.println("   <td> </td>");
                    out.println("   <td> </td>");
                    out.println("</tr>");
                out.println("<tr>");
                out.println("   <td colspan='9' align='center'>");
                out.println("       <a href='"+context+"/jsp/index.jsp' target='main'>Torna Home</a>");
                out.println("   </td>");
                out.println("</tr>");
                out.println("</table>");
                out.println("</form>");
            }catch (SQLException e){
                out.println(e.getMessage());
                out.println(e.getSQLState());
            }finally{
                try {utility.closeConnection(con);} catch (Exception e) {con=null;}
            out.println("</body>");
            out.println("</html>");
            out.close();
        }And this is CSS :
    BODY {
            background : #CCCCCC ;
            color : #000000 ;
            font-family  : sans-serif ;
            font-size : 13px ;
    A {
            color : #D2691E ;
            font-weight : bold ;
            font-family : sans-serif ;
            font-size : 12px ;
            text-decoration : none ;
    TABLE {
            background : #CCCCCC ;
            color : #000000 ;
            font-family : sans-serif ;
            font-size : 13px ;
            border : 1px ;
    .titolo {
            background-color : #CCCCFF ;
            font-family : sans-serif ;
            color : #000000 ;
            font-size : 13px ;
            font-style : normal ;
            font-weight : bold ;
    }Thx for your attenction :D

    out.println("<form name='visualizza'
    'visualizza' method='post'");
    out.println("<table align='center'>");
    'center'>"); // NOT WORKS , table alignment not
    respected on IE6You're missing a > at the end of the form start tag.

Maybe you are looking for