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]

Reply via email to