+ Reply to Thread
Results 1 to 6 of 6

Thread: HTML on the AS/400

  1. #1
    Guest.Visitor Guest

    Default HTML on the AS/400

    I have created a HTML member in a source file on the AS/400. I would now like to make my brouser display the HTML code. I have tried to make this work but it tells me the it cannot display that page. html://LIBRARY/MEMBER.htm Any suggestions? The instructions say use strpdm to create a html source. Then on the command line of your internet browser enter http://.../cgixxh/lab11a.htm I am guessing that the command line is the line at the top of the browser where you enter address. Roger

  2. #2

    Default HTML on the AS/400

    My previous comment outlined the basics of webserving, Roger. You have to start a server instance, which you do with the following command: STRTCPSVR SERVER(*HTTP) HTTPSVR(server-instance) There are two server instances that are shipped with the AS/400: *ADMIN: which is the one that allows you to configure the others DEFAULT: which uses the configuration named CONFIG If you simply enter the command STRTCPSVR SERVER(*HTTP) HTTPSVR(DEFAULT), you should be able to then go to your browser and key in the following: http://youras400 And you will see the "sample home page" from IBM. This is step one on your road to webserving. There are many, many more steps, and they involve a lot of hands-on time. Be prepared to spend a few late nights or weekends with your machine. For more information and step-by-step instructions, go to the following URL: http://www.as400.ibm.com/tstudio/wor...r4/v4r4top.htm Joe src="//www.zappie.net/java/_derived/index.htm_cmp_zero110_vbtn_p.gif" width="140" height="60" border="0" alt="Java400.net - Java/400 Freeware" align="middle"> Java400.Net - where the AS/400 speaks Java with an RPG accent Home of PBD2.0, the color=red>FREE Java/400 Client/Server color=blue>Revitalization Toolkit

  3. #3
    Guest.Visitor Guest

    Default HTML on the AS/400

    You are right on the amout of time needed and I guess Im on that road. But no matter what I do I can not get the httm://youras400 to work. It always says page can not be displayed. So I guess I will have to work some more on it. I did go to the IBM page and used that to try to get it to work and still no luck. Thanks for your help. Roger

  4. #4
    Guest.Visitor Guest

    Default HTML on the AS/400

    Check a few things.. 1. Do a WRKACTJOB JOB(instance) where instance is the HTTP server instance that you think is running. For example, DEFAULT. 2. Use your AS/400 IP address instead of youras400. For example, http://172.45.6.7 3. If you get this working, make sure you have a PASS directive for your source file so that you can display this file. Should look like the following: PASS /QSYS.LIB/YOURLIB.LIB/YOURFILE.FILE/YOURMBR.MBR Then you should be able to access it like this: http://172.45.6.7/qsys.lib/yourlib.l...le/yourmbr.mbr Check out my book. It has a whole chapter on this. www.bvstools.com/erpg.html Brad

  5. #5
    Guest.Visitor Guest

    Default HTML on the AS/400

    Check a few things.. 1. Do a WRKACTJOB JOB(instance) where instance is the HTTP server instance that you think is running. For example, DEFAULT. Did this and I did have a instance running in fact there were more than one. 2. Use your AS/400 IP address instead of youras400. For example, http://172.45.6.7 Did this and got the message you are not authorized to view this page (HTTP Error 403 - Forbidden Internet Explorer) 3. If you get this working, make sure you have a PASS directive for your source file so that you can display this file. Should look like the following: PASS /QSYS.LIB/YOURLIB.LIB/YOURFILE.FILE/YOURMBR.MBR Then you should be able to access it like this: http://172.45.6.7/qsys.lib/yourlib.l...le/yourmbr.mbr Check out my book. It has a whole chapter on this. www.bvstools.com/erpg.html

  6. #6
    Guest.Visitor Guest

    Default HTML on the AS/400

    "Did this and got the message you are not authorized to view this page (HTTP Error 403 - Forbidden Internet Explorer)" Actually, I had a same pain like this a while ago... In my case, we didn't have correct HOST Name and some how the reason outside of the FireWall IP address has been attached to PASS which was some network problems. So, I fixed my HOST Name and re-configure the AS/400 HTTP CONFIGURATION, and it's fine now. I strongry recommend you to check your HOST Name inside HTTP configuration, and just pay attention your IP address on the bottom of the browser when you are calling program. Good luck. Uri

+ Reply to Thread

Similar Threads

  1. HTML and CGI
    By Guest.Visitor in forum Internet
    Replies: 1
    Last Post: 06-22-2000, 08:56 AM
  2. CGI, HTML basics
    By Guest.Visitor in forum Internet
    Replies: 7
    Last Post: 06-07-2000, 07:00 PM
  3. DSPATR(PC) in HTML
    By T.Holt in forum Internet
    Replies: 4
    Last Post: 03-25-1999, 05:54 AM
  4. Disappearing HTML
    By Guest.Visitor in forum Analysis
    Replies: 1
    Last Post: 10-18-1998, 04:12 PM
  5. UIM to HTML
    By Guest.Visitor in forum Analysis
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts