From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38d1fe109cd56c87 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: XML-HTML Forms local execution was RE: GNAT, LINUX, KDE Date: 1999/11/27 Message-ID: <81q50m$1rsg$1@news.gate.net>#1/1 X-Deja-AN: 553934059 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 943757142 61328 199.227.189.144 (28 Nov 1999 02:45:42 GMT) Organization: CyberGate, Inc. X-MSMail-Priority: Normal NNTP-Posting-Date: 28 Nov 1999 02:45:42 GMT Newsgroups: comp.lang.ada Date: 1999-11-28T02:45:42+00:00 List-Id: The reason no one has given you a working example, is no one has taken the time to implement a small web server you can imbed in your application. There were posts of sample C++ and Java server code, I do not have the time to do it, but if you need this for a project, you should take the little time (relative term) needed to reimplement one of these servers in Ada and embed it in your code. You would then have a browser on the local machine access the running Ada application use a URL along the lines of http://localhost:YOURPORT where you provide the port. It would be possible to have the Ada application start up a browser and point the browser back to itself using the browsers command line options. There are a few other methods, but this is the most portable (cross OS and cross browser) and simple. Alternatives are to using the COM binding to IE's DHTML model (don't know why, but partly broken for Ada), write a plug-in, use Java script to submit the form to a Ada applette, create the Ada code as a COM object (using the COM generator from AdaPower) and then access the COM object from JavaScript..... There are a number of other possible options, but they just keep getting more complicated. It would be great if some one would take this up as a small project to put out as Open Source, but I am certain that if your project needs it there are consultants around willing to do it for you. Take a look at the Ada Resource Treasury (http://www.adapower.com/411) for some possible consultants and consultant firms that may be able to assist you. BTW the URL for the latest versions of the CGI library is at http://www.dwheeler.com/adacgi and their is a Mail List available for it by sending subscribe to AdaCGI-Request@AdaPower.com David Botton Robert C. Leif, Ph.D. > Unfortunately, none of these were > completely working examples.