× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My guess would be that you are not writing out the header of the HTML file.
I would also suggest that you should store your HTML in the IFS and read it
in from there.  Then it is a lot easier to just edit with a WYSIWYG editor
and save it right to the folder vs. trying to put it into a member.

Here is all that you have to do to read it out of the IFS with the help of
some ILE programs:

C              CALLP     #WriteHTML('/home/intranet/static.html')

If you want the code to know how to do this just shoot me an email off the
list.

Aaron Bartell

-----Original Message-----
From: Mangavalli, Ramanujam [mailto:RamM@Mvmills.com]
Sent: Tuesday, September 18, 2001 11:19 AM
To: 'RPG400-L@midrange.com'
Subject: HTTP Server Problems.


Folks,

I have an HTML member in a source physical file. Upon invocation(from a
browser), an ILE RPG  CGI program reads this member and writes this HTML to
STDOUT. For some reason, the HTML written is not being displayed in IE 5.0
or NS 6.1. The HTML code has a bunch of Java Script inside.

Just to make sure that the HTTP Server configuration was right, I wrote a
program in ILE RPG to write Hello World to the browser. That program works.


Any help would be greatly appreciated.
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 by midrange.com 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.