JGNAT - HTML generation - ADA

This is a discussion on JGNAT - HTML generation - ADA ; Hello, I have a random HTML-formatted text generator in Ada and would like to use JGNAT to display the generated HTML on a client browser and also eventually allow the user to generate it again. The generator would also be ...

+ Reply to Thread
Results 1 to 5 of 5

JGNAT - HTML generation

  1. Default JGNAT - HTML generation

    Hello,

    I have a random HTML-formatted text generator in Ada and would like to use
    JGNAT to display the generated HTML on a client browser and also eventually
    allow the user to generate it again.
    The generator would also be part of the "Adapplet" - no cgi or server-side
    programming.
    Do someone have a small code sample to fill (for instance) a frame with HTML,
    maybe also a "refresh" button, or whatever like that ?

    The output could look like these ones
    http://pdos.csail.mit.edu/scigen/
    http://www.elsewhere.org/pomo

    TIA
    ______________________________________________________________
    Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
    Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

    NB: For a direct answer, e-mail address on the Web site!

  2. Default Re: JGNAT - HTML generation

    Gautier wrote:
    > Hello,
    >
    > I have a random HTML-formatted text generator in Ada and would like to
    > use JGNAT to display the generated HTML on a client browser and also
    > eventually allow the user to generate it again.


    JGNAT is unsupported and I think pretty much non-functional with current
    JDKs (YMMV). I used it heavily for a project about 5+ years ago, and I
    believe it worked it okay with JDK 1.2, tasking broke with JDK 1.3, and
    beyond that I think you could count yourself lucky if you got a working
    program.

    -- Marc A. Criley
    -- McKae Technologies
    -- www.mckae.com
    -- Avatox - DTraq - XIA - XML EZ Out

  3. Default Re: JGNAT - HTML generation

    Marc A. Criley:

    > JGNAT is unsupported and I think pretty much non-functional with current
    > JDKs (YMMV). I used it heavily for a project about 5+ years ago, and I
    > believe it worked it okay with JDK 1.2, tasking broke with JDK 1.3, and
    > beyond that I think you could count yourself lucky if you got a working
    > program.


    The demo applets work fine, and I don't need tasking for that funny
    applet...

    Gautier


  4. Default Re: JGNAT - HTML generation

    On Tue, 2007-05-08 at 00:08 +0200, Gautier wrote:
    > Hello,
    >
    > I have a random HTML-formatted text generator in Ada and would like to use
    > JGNAT to display the generated HTML on a client browser and also eventually
    > allow the user to generate it again.


    Do you mean, the applet produces the HTML that will be displayed
    in the browser's window? That is, exporting some applet scripting
    interface? (In this case you would be replacing elements of the
    DOM by ID using the HTML code exported by document.Applet1, say.)

    As for JVM compatibility settings, AppletMagic is a lot more up
    to date in this regard.



  5. Default Re: JGNAT - HTML generation

    >> I have a random HTML-formatted text generator in Ada and would like to use
    >> JGNAT to display the generated HTML on a client browser and also eventually
    >> allow the user to generate it again.


    Georg Bauhaus:

    > Do you mean, the applet produces the HTML that will be displayed
    > in the browser's window? That is, exporting some applet scripting
    > interface? (In this case you would be replacing elements of the
    > DOM by ID using the HTML code exported by document.Applet1, say.)


    It is the idea.
    And clearly you know more about how to do it in detail than I do (easy: I have
    no clue!)...
    Any piece of code ? Or we could do it together!
    It should be no magic, just spitting HTML to the right place...

    > As for JVM compatibility settings, AppletMagic is a lot more up
    > to date in this regard.


    Since it is foreseen as a GPL, open-source project, I would prefer to be able
    to use JGNAT, even though it is a bit outdated.
    ______________________________________________________________
    Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
    Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

    NB: For a direct answer, e-mail address on the Web site!

+ Reply to Thread

Similar Threads

  1. best practice for XML / HTML generation of />
    By Application Development in forum Java
    Replies: 5
    Last Post: 07-25-2007, 09:07 AM
  2. Adding Date/Time to an HTML form? - Request_Information_b.html (0/1)
    By Application Development in forum Javascript
    Replies: 8
    Last Post: 06-21-2007, 07:57 PM
  3. Adding Date/Time to an HTML form? - Request_Information_b.html (0/1)
    By Application Development in forum Javascript
    Replies: 5
    Last Post: 06-20-2007, 10:26 AM
  4. Command Line Generation of HTML
    By Application Development in forum Adobe Framemaker
    Replies: 0
    Last Post: 09-07-2006, 05:18 PM
  5. Trying to create an HTML Parser using MS HTML Object Library (reference)
    By Application Development in forum ADO DAO RDO RDS
    Replies: 0
    Last Post: 05-03-2004, 09:09 PM