velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Baughman <baugh...@utdallas.edu>
Subject Re: VelocityContext
Date Wed, 18 Sep 2002 21:27:20 GMT
You have been given correct information.  The velocity Context only lives
once.  Each invocation of the controller sets a new velocity context.  
The HttpSession is the place to store information that lives between
invocations from the client.

Barbara Baughman
X2157

On Wed, 18 Sep 2002, Charles Baker wrote:

> One of my coworkers told me that if you add a variable
> to the context that it will be lost on the next
> invocation of the Controller? Could this be correct? I
> haven't written any code to test it myself but I will
> do so if need be. Should I add the variable to the
> session instead?
> 
> =====
> rascharles@yahoo.com
> http://www.charleshbaker.com/~chb/
> Hacking is a "Good Thing!"
> See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>
> 
> 


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


Mime
View raw message