Dear all, this is a quite known issue[1][2] but I am wondering if you already have a solution to the following problem:
Suppose you have a servlet filter that uses one of the getParameter*() method in order to get some data from the request. What happens is that if the request is a POST+www-form-urlencoded data this method consumes the body and when the request reaches Restlet, its body appears to be empty (i.e., subsequent calls to getInputStream() return and empty stream). Do you know a workaround to circumvent this behavior (except not using getParameter*() in the filter)? RequestWrappers don't work very well [1] Thank you for your answer. Cheers, Fabio [1] http://mail-archives.apache.org/mod_mbox/tomcat-users/200505.mbox/%3c428afc4b.2060...@softwareag.com%3e [2] http://markmail.org/message/hk3i7fak2hfxjbna#query:getinputstream%20post%20form%20urlencoded%20filter%20getparameters+page:1+mid:xwyf3dorrbqcdq6v+state:results ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1277500