This should maybe go into an FAQ or on the Wiki somewhere.  I've seen this
same question 3 times since I joined this list (not too long ago).   

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Raul Raja Martinez
Sent: Saturday, March 18, 2006 6:32 PM
To: tapestry-user@jakarta.apache.org
Subject: Re: Getting raw POST data

Just provide this:

private HttpServletRequest request;

public void setHttpServletRequest(HttpServletRequest request) {
  this.request = request;
}

Hivemind will autowire the request to your service so that you can use 
it like if you were dealing with a Servlet.


best regards.

Raul Raja.


Jean-Eric Cuendet wrote:
> Hi,
> I have a tapestry service but would like to access the raw data from the 
> POST http request. Is that possible?
> If I do
> getRequest().getInputStream() then inputStream.available() returns 0 ...
> I tried reset() on IS but it throw an exception saying it's not 
> supported...
> Thanks for any info.
> -jec
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



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

Reply via email to