To All what kindly help me.
ma := ModuleAssembly core. ma alias: '/d' to: [ma addPlug: [:request | HttpResponse fromString: '<html> <HEAD><p>Choose a point on the map:</p></HEAD> <form> <input type=image name=point src= "http://201-212-99-13.cab.prima.net.ar/TEG.jpg" align= "center" width="750" height="490" border="0" </form>']]. ma addPlug: [:request | self halt. HttpResponse fromString: 'This is the default content']. ^ service := (HttpService startOn: 8420 named: 'TEG') plug: ma rootModule
And see attached picture. This time I test in Firefox, what when click said something like http://localhost:8420/d?point.x=388&point.y=88
And what I could have in get and pass to Squeak
No need of contaminate Squeak with JavaScript !!!
Thanks
Edgar