FW: servlet request header information

2009-07-29 Thread Mihai Toma
Hi, I want to get some information from request header using something like the code bellow but for my requests I receive null. HttpServletRequest request = ((ServletWebRequest) getRequest()) .getHttpServletRequest();

Re: FW: servlet request header information

2009-07-29 Thread Martin Makundi
Some proxies can be configured to forward the real client address: - Apache ProxyPreserveHost Directive - Description: Use incoming Host HTTP request header for proxy request - Syntax: ProxyPreserveHost On|Off - Default: ProxyPreserveHost Off - Context: server config,

RE: FW: servlet request header information

2009-07-29 Thread Mihai Toma
Thanks, but we are using here an OC4J server so we can’t add Apache ProxyPreserveHost Directive. -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Wednesday, July 29, 2009 12:59 PM To: users@wicket.apache.org Subject: Re: FW: servlet request

Re: FW: servlet request header information

2009-07-29 Thread Martin Makundi
Well.. similar options you can find in OC4J proxy too. Or else you will not get the client ip (it is not possible to get it if the proxy does not deliberately pass it). ** Martin 2009/7/29 Mihai Toma mihai.t...@asf.ro: Thanks, but we are using here an OC4J server so we can’t add Apache