You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Shinobu Kawai <sh...@gmail.com> on 2005/04/08 18:59:31 UTC

Re: Weird execution of code

Hi Manish,

> Something weird is happening here...
> I have this piece of code in my Velocity template file -
> 
> $request.getLocalAddr()
> 
> This works fine on other machine and gives the correct local IP, however on
> other machine this results in null value, why is it so?
> What configuration issue could affect this? Any other ideas? I am lost...

You can investigate by checking the difference between the working and
non-working machines.
- Which servlet container?  Which version?  What configuration?
- Which platform?  Which hardware?  Whatever...

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org