Re: [Xsltforms-support] NanoXFServer: WebServer for XSLTForms
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-01-06 19:26:08
|
Hi William, Thank you for sharing NanoXFServer. I developed a similar product named tXs for .Net and PHP: http://sourceforge.net/projects/txs/ I still think that developing a small proxy-server for the same purpose should be great too! -Alain Le 06/01/2012 19:36, William David Velasquez a écrit : > Hi XSLTForms list, > > As you may know, using XSLTForms in the local filesytem without a > webserver is practically impossible due to javscript security > restrictions and saving an XML Instance to a local file is totally > impossible. > > A solution is to use a eXist-db or a localhost webserver with some > script to handle post or put and save the file. > > There is a really small and easy to use web server called NanoHTTPD > http://elonen.iki.fi/code/nanohttpd/ made of just one Java file. > > I made a small modification on it to allow handling PUT method, and > wrote a subclass of NanoHTTPD that handles PUT or xml-urlencoded-post > submissions and saves xml instances to local files. > > I hope you'll find it useful for testing XForms, teaching (I personally > will use it for teaching XForms to my University students) or even > creating standalone XForms applications. > > You can download NanoXFServer on http://bitlab.com.co/nanoxfserver/ > > All your comments are welcome! > > |