All of that looks right to me When you get a 409 error, do you see the three frames on the iPad?
The note about the external IP address means that your iPad needs to access something other than 127.0.0.1 (that is localhost)... So hypothetically getexternalip_jhs_ would return the IP address that your iPad can reach in hindsight, you don't even need the IP address in the HTML that JHS is serving: I was blinded by the existing proposed solution. This should also work: coclass'frames' coinsert'jhs' HTML=: 0 : 0 <html><head><title>Turtle Graphics</title></head> <frameset cols="24%,*"> <frame src="/jijx" name="ijx", scrolling="auto"> <frameset rows="87%,*"> <frame src="/tgsj" name="ijs", scrolling="auto"> <frame src="/~Projects/tgsjhs/tgsjhshelp.html" name="help", scrolling="auto"> </frameset> </frameset> </html> ) create=: 3 : 0 htmlresponse HTML ) On Tue, Sep 23, 2014 at 4:02 PM, Brian Schott <[email protected]> wrote: > Joe, > > First of all, by clicking nearer to an existing line in the /jijx window, I > now get the keyboard to pop up on the iPad in Safari. > > I have tried both of the following in the /jijx window of the iPad, no > error is emitted, > > load'~Projects/tgsjhs/tgsjhs.ijs' > load'~Projects/tgsjhs/frames.ijs' > > but ... when I try http://x.x.x.x/frames on the iPad, with x.x.x.x either > of the following 2 I get a 409 error > > 127.0.0.1:65001 > 192.168.1.5:65001 > > Am I missing something? > > Also, I don't understand your note to the effect that you get the external > IP address? > > Thanks, > > On Tue, Sep 23, 2014 at 3:09 PM, Joe Bogner <[email protected]> wrote: > >> to be overly clear, you would access http://x.x.x.x/frames in this case >> from the iPad >> >> On Tue, Sep 23, 2014 at 3:09 PM, Joe Bogner <[email protected]> wrote: >> >> > how about this: >> > >> > create a new file called frames.ijs (feel free to rename the file and the >> > coclass) >> > load ... >> > >> > >> > >> > coclass'frames' >> > coinsert'jhs' >> > >> > >> > HTML=: 0 : 0 >> > <html><head><title>Turtle Graphics</title></head> >> > <frameset cols="24%,*"> >> > <frame src="http://127.0.0.1:65001/jijx" >> > name="ijx", >> > scrolling="auto"> >> > <frameset rows="87%,*"> >> > <frame src="http://127.0.0.1:65001/tgsj" >> > name="ijs", >> > scrolling="auto"> >> > <frame src="http://127.0.0.1:65001/~Projects/tgsjhs/tgsjhshelp.html" >> > name="help", >> > scrolling="auto"> >> > </frameset> >> > </frameset> >> > </html> >> > ) >> > >> > create=: 3 : 0 >> > IP=:getexternalip_jhs_'' >> > htmlresponse ('127.0.0.1';IP) stringreplace HTML >> > ) >> > >> > worked on my PC >> > >> > note, I get the external ip address instead of using 127.0.0.1 in create >> > >> > >> > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
