I changed my web page to have a margin around the tn5250j applet, so you can click on the white space and view the source. Note that your codebase, where the .jar file is located, must be relative to you HTML page directory.


----- Original Message -----
From: Bob Schwartz <rschwartz@xxxxxxxxxxxxxxx>
To: "'midrange-l@xxxxxxxxxxxx'" <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, March 20, 2012 6:48 AM
Subject: Re: tn5250j HTTP server configuration on V5R4

Hi Nathan, thank you for the for tips. I did make some progress.


1. No, we currently do not serve web pages from our i server.

2. Change made to default Apache HTTP server: Renamed default index.html to _ORIGINAL_index.html

3. Created new index.html like this ...

  <TITLE>AS/400 Display Session</TITLE>
  <H2>AS/400 Display Session</H2>

    CODEBASE = "/java/tn5250j"
    CODE    = "org.tn5250j.My5250App.class"
    NAME    = "tn5250j - Java Telnet 5250 Client "
    ALT      = "tn5250j cannot start. Browser may not support Java."
    WIDTH    = 600
    HEIGHT  = 400
    HSPACE  = 0
    VSPACE  = 0
    ALIGN    = top
    ARCHIVE  = "tn5250j.jar"
  <PARAM NAME ="host" VALUE= "">
  <PARAM NAME ="-e" VALUE= " ">


4. Added the tn5250j directories (ftp, java, www) to /www/apachedft/htdocs
  htdocs  ---+--- ftp  ---+
              +--- java ---+
              |            |
              |            +--- tn5250j
              +--- www  ---+
                          +--- images

5. Started the HTTP server APACHEDFT

6. Now When I browse to the server at port 80 I get the following error:
    Exception: java.lang.ClassNotFoundException: org.tn5250j.My5250App.class

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].