Use the browser developer tools to see just what exactly is being downloaded from the server. All browsers have developer tools included now - even IE. Each will have a console or network tab to show you the files that are downloaded.

Sent from my iPad

[] ƕ
On 11 Nov 2016, at 20:07, Booth Martin <booth@xxxxxxxxxxxx> wrote:

Here is a copy & paste from a 5250 session:

{"name":"George Washington" "life":"1732/1799"},
... 43 lines deleted

The web console reports the error is row 1 col 16. Which is the first blank, if I counted right. Its also a linefeed. I repeated the exercise without linefeeds and got the same message.
Part 2:
So then I decided to double check. I copied the entire file from the 5250 screens with "Copy Append" and pasted the data into a new JSON file on my PC. It looked fine. I opened the web page. No data was displayed. The web console reported a problem at Row 2, column 28; it was looking for a "}". I am satisfied that it is a ccsid issue. At the moment it seems likely the answer lays with learning more about configuring the Apache server on the iSeries.

On 11/11/2016 1:13 PM, Kevin Turner wrote:
From what I can gather in this case the issue is fairly obvious to the naked eye although Booth has yet to confirm that it is the braces ({}) or other chars.

Sent from my iPad
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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-2022 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].

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