You can access the header with ServletRequest.getHeader, getHeaders, getHeadersNames.

Read Servlet Spec 2.4 or 2.5 Headers 4.3


Wrote your own Valve or ServletFilter ....

Regards
Peter


Am 22.09.2006 um 06:44 schrieb Alexander Khoo:

Dear All,

We currently have Tomcat Version5 install behind Pound reverse proxy! Our code cant identify the real source client IP instead the reverse proxy IP everytime, We understand Pound adds the X- Forwarded-for header with the original client address to every request....but how we can identify it?


Please Help!
Alexander Khoo

Reply via email to