[Simpleweb-Support] using simple http server to transfer file over post request
Brought to you by:
niallg
From: R. G. <ros...@gm...> - 2006-06-20 15:59:34
|
Hello, i have an application, embedding the simple server (as in getting started example) working already. i managed as well to map a request type with a certain path to a service so far. now, a client should connect to the server, and sending a file to it with the post method. i worked trouhg all the example, but could not work out how to do it. It might be, that somebody else asked the question already, but the mailing list archive is not working either, today (505 Internal error). so sorry. My idea to do so far is to write a service, parsing out the "Post" request, the lenght of file and and afterwords, parsing the Body of the request. Is this the way to do it? or is it intended to do differently. I am quite unfamiliar with the simple server and, is there a documentation, how the mapper.xml is working (is there a way were not only path but the request method can be mapped to a service)? any help very welcome, sorry for bothering but i did not managed to work it out by myself. rose. |