velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: Weird execution of code
Date Fri, 08 Apr 2005 16:59:31 GMT
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 <shinobu.kawai@gmail.com>

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


Mime
View raw message