webwork/src/main/webwork/view/velocity VelocityHelper.java,1.2,1.3

[email protected] Sat, 15 Nov 2003 20:56:44 -0800
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/view/velocity
In directory sc8-pr-cvs1:/tmp/cvs-serv11868/src/main/webwork/view/velocity

Modified Files:
	VelocityHelper.java 
Log Message:
Specify velo app attribute that the war loader needs

Index: VelocityHelper.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/view/velocity/VelocityHelper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- VelocityHelper.java	16 Nov 2003 00:58:54 -0000	1.2
+++ VelocityHelper.java	16 Nov 2003 04:56:41 -0000	1.3
@@ -124,6 +124,7 @@
       }
     }
 
+    Velocity.setApplicationAttribute(ServletContext.class.getName(), context); 
     Velocity.init(p);
     initialized = true;
   }




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl