On May 18, 2007, at 15:24 , Uwe Preisendörfer wrote:

Hi Grégory,

i now had setup the ide to use the debugger and show me the request
data.

So, what do you need to know from the request.

GJ> Basically you'd need to hack the update() method of
GJ> SimpleExchangeServlet before it tries to build an xml document out of
GJ> the request, and check its contents.

Where (Attributes, Parameters, Headers ...) and what is the
information i have to look for?
Must i read the multipart/form-data?


From the SimpleExchangeServlet:
Document resourceDocument = data.getDocument (resourceFileName);
            SAXBuilder builder = new SAXBuilder();
InputStream documentInputStream = resourceDocument.getStream();

What you need to check is "resourceDocument"; If the document instance is based on a file, you could simply check its path and copy it while the debugger is on a breakpoint.

hth

g



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to