"Christian Marois" <[EMAIL PROTECTED]> wrote in message news:<a153qg$[EMAIL PROTECTED]>... > Hi, > > I am trying to create Html code on the fly within my program, and then put > it in the webclient control. > I am trying to use the method loadFromStream() from the Navigation > interface, but nothing happens. > > Could someone explain me the less obvious arguments that need to be passed. > InputStream, URI and contentLength I have no problem. contentType, I am not > too sure what to put in there and the java.util.Properties... What do we do > with this one??
contentType would of course be "text/html". Properties should be null. See http://lxr.mozilla.org/mozilla/source/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java#549
