Dear List,

What sort of qualifier do I need to put in "pattern" to capture passed POST
data to the Tomcat 6.0 server? Here is my valve tag in server.xml:

<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
               prefix="localhost_access_log." suffix=".txt" pattern="%q
%{}i" resolveHosts="false"/>

The pattern %q will get data passed through GET since it's the query string.
But, I tried putting in %{}i to get all the passed POST data and I just
receive "null". I know that if I wanted to get the content language etc, I
could use

{Content-Language}%i
{Content-Encoding}%i
and so forth.

 But how do I get the content itself (ie, the HTTP headers entity-body)?
This has been bugging me for quite a while! I would appreciate any help!

Reply via email to