On Fri, 08 Oct 2004 20:49, Manish wrote: > Thanks a ton for the link Shinobu!!! > Somehow the velocity site had hidden this link from me!!!! ;) ;) > > Can you pls tell me how do you typically put stuff in the velocity context > with struts? I searched through my "action" code (that someone lese wrote) > for context.put, but couldn't find it. I have used velocity from plain Java > classes before.
Typically the action will add objects to either the request or the session with setAttribute( name, object ); When the request is handed to a Velocity Servlet of some kind the servlet will usually load everything from the request and session into the Velocity Context. Typically your views will be vm files, and will not be called until the action is complete. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
