× 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.



The header looks wrong because there should be an extra blank line after the header and before the <html> tag. However, I don't think that is your problem - maybe you just missed it out in your copy-and-paste. Without that, I would expect an obvious error rather than junk. Have you tried using a converter to see if it really is junk, as opposed to unconverted EBCDIC: http://www.pacsys.com/ebccnv.htm



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Darryl Freinkel
Sent: 25 June 2012 19:18
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] WEB400 Digest, Vol 10, Issue 75

@Scott

What is your content-type set to? The HTTP server should automatically
translate your data, but only if your content-type is "text" (such as text/html, text/plain, text/xml, etc)

%%MIXED/MIXED%% will work fine for everything except %xx constants. If you have any of those in your data (such as with HTML form data) you should switch to %%EBCDIC/EBCDIC%% or simply EBCDIC.

-SK

1. Content Type:
I have the standard content statements.

My logon webpage displays normally. When the submit button is pressed, I see the program executing in RPG. The code is normal. I return the following as my response to the browser.

Content-type: text/html
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <body> Welcome to Ports of Entry </BODY></HTML>

2. CGIMODE.
I have it as %%MIXED/MIXED%%. I tried %%EBCDIC/EBCDIC%% and got the same results.


Darryl Freinkel | Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562

@Jon
Your question:
The most obvious question Daryl is why are doing so much hard work?

Answer:
I am developing a utility that I would like to distribute. The problem I have always experienced using "other/third party" software is getting the users to install the other software.

I have considered CGIDEV, PHP and others, but I am always left with the overhead of trying to get "other " software installed so that my software will run. This has left me with the need to keep what I can local. Using the base API's goes a long way to achieving the goal. In this way I reduce the external problems and licensing issues.

The question remains: How do you achieve a simple and single install when distributing software?



--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.