in a servlet environment you can use the session cache, check
the servlet APIdoc for the methods, out of my mind:
$request.session.setAttribute("foo", "bar")

and later on:

$request.session.getAttribute('foo')

Cheers,
Christoph

[EMAIL PROTECTED] wrote:
i work on a project using velocity
I think it could be resolved whith the use of  a global variable.

when i want a tab menu I use the jetspeed-tab.vm script
I'd like to have a sub-tab-menu different from the main-tab-menu but 'jetspeed-tab.vm' 
is called two time
Is that possible to know how many time the ' jetspeed-tab.vm' have been called or a 
global variable to know which tab-menu to print ?


Thanks







----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



-- :) Christoph Reck


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to