I try to write a generator who accepts multipart/related posts.
How do i get the content of the post-message?
I tried it with the following:
  HttpServletRequest request = (HttpServletRequest) 
objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT);
  InputStreamReader instream = new InputStreamReader ( request.getInputStream() );
  BufferedReader reader = new BufferedReader( instream );
  while ((line=reader.readLine()) != null){
    System.out.println(line);
  }
But i don't see any output on the console, so how can i access and
parse the request?
I hope you understand my problem and can help me.
  

-- 
Best regards,
 Michael                          mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to