|
That's why I'd like to see the source that is saved with IE5. I've done this before and never had this problem. Brad > -----Original Message----- > From: Bruce Jin [mailto:brucej@mrc-productivity.com] > Sent: Monday, January 17, 2000 8:23 AM > To: RPG400-L@midrange.com > Subject: Strange CGI, some progress > > > Stone, > > I was using IE5 for all the experiment. > Today I used Netscape 4.7 and everything works! > > 1) The input string from the search page (generated by > CGIPGM0) is presented > to HTTP server correctly (as is in IE5) > > 2) The input string from the search page (a html file saved > from CGIPGM0 > output) is olso presented to HTTP server correctly! (not as > is in IE5) > > I then started IE5 again and the 2) above does not work as I described > before. > > There is something (maybe a bug) in IE5 that I don't understand. > > > Bj > > > > > -----Original Message----- > From: Bruce Jin <brucej@mrc-productivity.com> > To: RPG400-L@midrange.com <RPG400-L@midrange.com> > Date: Friday, January 14, 2000 6:03 PM > Subject: Re: Strange CGI > > > >Stone: > > > >When CGIPGM0 generates the page, I view the source code and > it looks OK: > ><INPUT size=15 type="text" name="INPUT01"> etc.. > > > >Then I click submit, the value of INPUT01 is presented to the server > >correctly as I described earlier. > > > >Then I saved this source code to IFS and display the same > page using this > >saved html instead of using CGIPGM0. > >Then I click submit, the value of INPUT01 is presented to the server > >incorrectly as I described earlier. The code page of this > html file is 437. > > > >I also tried to save the source code to a source file member > and evoke the > >search page using this source. The value of INPUT01 is > presented to the > >server incorrectly too. I am not sure if code page comes > into play in this > >situation. > > > >By the way, I am using a service program (downloaded from > >easy400.ibm.it.com) to get input string. In all situations, > the input parms > >of the procedure are all the same. But the output is > different based on if > >the search page is generated by CGIPGM0 or the search is a html file. > > > > > >Thanks. > > > >Bj > > > > > > > > > > > >-----Original Message----- > >From: Stone, Brad V (TC) <bvstone@taylorcorp.com> > >To: 'RPG400-L@midrange.com' <RPG400-L@midrange.com> > >Date: Friday, January 14, 2000 3:45 PM > >Subject: RE: Strange CGI > > > > > >>Look at the source for the HTML that is generated when you > save CGIPGM0. > >>What are the field names? You're going to post more info here... > >> > >>Bradley V. Stone > >>e-RPG! - www.bvstools.com/erpg.html > >>BVS/Tools - www.bvstools.com > >>Netshare400 - www.netshare400.com > >> > >> > >> > >>> -----Original Message----- > >>> From: Bruce Jin [mailto:brucej@mrc-productivity.com] > >>> Sent: Friday, January 14, 2000 2:39 PM > >>> To: RPG400-L@midrange.com > >>> Subject: Re: Strange CGI > >>> > >>> > >>> Stone, > >>> > >>> I have %%EBCDIC%% in my EXEC directive. The question is the > >>> CGI program is > >>> called twice, one time it works correctly, the other time > it does not. > >>> > >>> Thanks. > >>> > >>> Bj > >>> > >>> > >>> -----Original Message----- > >>> From: Stone, Brad V (TC) <bvstone@taylorcorp.com> > >>> To: 'RPG400-L@midrange.com' <RPG400-L@midrange.com> > >>> Date: Friday, January 14, 2000 2:29 PM > >>> Subject: RE: Strange CGI > >>> > >>> > >>> >Try adding %%EBCDIC%% to the end of your EXEC directive. > Like this.. > >>> > > >>> >EXEC /cgi-bin/* /QSYS.LIB/cgilib.LIB/* %%EBCDIC%% > >>> > > >>> >Stop the server. Start the server. Try it again. > >>> > > >>> >Bradley V. Stone > >>> >e-RPG! - www.bvstools.com/erpg.html > >>> >BVS/Tools - www.bvstools.com > >>> >Netshare400 - www.netshare400.com > >>> > > >>> > > >>> > > >>> >> -----Original Message----- > >>> >> From: Bruce Jin [mailto:brucej@mrc-productivity.com] > >>> >> Sent: Friday, January 14, 2000 12:58 PM > >>> >> To: RPG400-L@midrange.com > >>> >> Subject: Strange CGI > >>> >> > >>> >> > >>> >> > >>> >> Can anyone tell why the following is happening? > >>> >> > >>> >> I have a CGI program called CGIPGM0. When I enter > >>> >> /cgi-bin/CGIPGM0 in a > >>> >> browser, it outputs a page with a form (method="POST") that > >>> >> ask for input. > >>> >> Let us call this page as Page0. I enter 'AAAAAAAAAA' into > >>> >> input field #1 and > >>> >> '999999.99' into input field #2. Then I click submit, CGIPGM1 > >>> >> is called to > >>> >> process the input from Page0. I put CGIPGM1 in debug mode and > >>> >> I can see that > >>> >> the input string is: > >>> >> > >>> >> INPUT01=AAAAAAAAAA&INPUT02=999999099 > >>> >> > >>> >> > >>> >> Now, I save the html source code of Page0 (generated by > >>> >> CGIPGM0) to IFS > >>> >> (also tried save to a QSYS source member). I enter its URL > >>> >> in a browser. I > >>> >> get EXACTLY the same page, Page0. I fill the input. > >>> >> I click submit, the same CGIPGM1 is called (we are still in > >>> >> the same debug > >>> >> session). BUT I can see that the input string is like this: > >>> >> > >>> >> INPUT01NAAA-=AAAAAAAAAA%D5AAA-%18%2C3%98&INPUT02NAAA-= > >>> >> 999999%D5AAA-AAA-%18%2C3%98& > >>> >> > >>> >> API QtmhCvtDB errors out because only INPUT01 and INPUT02 are > >>> >> defined in the > >>> >> mapping database file used by this API. However the input > >>> >> string says the > >>> >> input field names are INPUT01NAAA- and INPUT02NAAA-! > >>> >> > >>> >> Any idea? > >>> >> > >>> >> > >>> >> Bj > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> +--- > >>> >> | This is the RPG/400 Mailing List! > >>> >> | To submit a new message, send your mail to > RPG400-L@midrange.com. > >>> >> | To subscribe to this list send email to > >>> RPG400-L-SUB@midrange.com. > >>> >> | To unsubscribe from this list send email to > >>> >> RPG400-L-UNSUB@midrange.com. > >>> >> | Questions should be directed to the list owner/operator: > >>> >> david@midrange.com > >>> >> +--- > >>> >> > >>> >+--- > >>> >| This is the RPG/400 Mailing List! > >>> >| To submit a new message, send your mail to > RPG400-L@midrange.com. > >>> >| To subscribe to this list send email to > RPG400-L-SUB@midrange.com. > >>> >| To unsubscribe from this list send email to > >>> RPG400-L-UNSUB@midrange.com. > >>> >| Questions should be directed to the list owner/operator: > >>> david@midrange.com > >>> >+--- > >>> > > >>> > >>> > >>> +--- > >>> | This is the RPG/400 Mailing List! > >>> | To submit a new message, send your mail to > RPG400-L@midrange.com. > >>> | To subscribe to this list send email to > RPG400-L-SUB@midrange.com. > >>> | To unsubscribe from this list send email to > >>> RPG400-L-UNSUB@midrange.com. > >>> | Questions should be directed to the list owner/operator: > >>> david@midrange.com > >>> +--- > >>> > >>+--- > >>| This is the RPG/400 Mailing List! > >>| To submit a new message, send your mail to RPG400-L@midrange.com. > >>| To subscribe to this list send email to RPG400-L-SUB@midrange.com. > >>| To unsubscribe from this list send email to > RPG400-L-UNSUB@midrange.com. > >>| Questions should be directed to the list owner/operator: > >david@midrange.com > >>+--- > >> > > > > > >+--- > >| This is the RPG/400 Mailing List! > >| To submit a new message, send your mail to RPG400-L@midrange.com. > >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. > >| To unsubscribe from this list send email to > RPG400-L-UNSUB@midrange.com. > >| Questions should be directed to the list owner/operator: > david@midrange.com > >+--- > > > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.