velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wu qi <wqh_veloc...@yahoo.com>
Subject (velocity-struts) How to add context in action class?
Date Thu, 20 Mar 2003 01:19:29 GMT

     In a non struts app,we can use add method of context:

        

VelocityContext context = new VelocityContext();

context.put( "name", new String("Velocity") );

 

but for action class in struts ,how to do that?



---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message