geirm       01/05/19 09:58:33

  Modified:    xdocs    developer-guide.xml
               docs     developer-guide.html
  Log:
  added leading / for param-value for properties file in web.xml
  example.  Tomcat can deal, but it appears other containers have
  problems.
  
  Revision  Changes    Path
  1.44      +2 -2      jakarta-velocity/xdocs/developer-guide.xml
  
  Index: developer-guide.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/developer-guide.xml,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- developer-guide.xml       2001/05/18 15:32:02     1.43
  +++ developer-guide.xml       2001/05/19 16:58:29     1.44
  @@ -932,7 +932,7 @@
   When you deploy your Velocity-based servlets, you will certainly want to 
   ensure that your properties file is used to configure the Velocity runtime.  
   Under Tomcat, one way to accomplish this is by placing your velocity.properties 
  -file into the rootdirectory of your web app (webapps/appname ) and then 
  +file into the root directory of your web app (webapps/appname ) and then 
   add the following to your WEB-INF/web.xml file :
   </p>
   
  @@ -942,7 +942,7 @@
     <servlet-class>com.foo.bar.MyServlet</servlet-class>
     <init-param>
         <param-name>properties</param-name>
  -      <param-value>velocity.properties</param-value>
  +      <param-value>/velocity.properties</param-value>
     </init-param>
   </servlet>
   ]]></source>
  
  
  
  1.60      +2 -2      jakarta-velocity/docs/developer-guide.html
  
  Index: developer-guide.html
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/docs/developer-guide.html,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- developer-guide.html      2001/05/18 15:32:07     1.59
  +++ developer-guide.html      2001/05/19 16:58:32     1.60
  @@ -1177,7 +1177,7 @@
   When you deploy your Velocity-based servlets, you will certainly want to 
   ensure that your properties file is used to configure the Velocity runtime.  
   Under Tomcat, one way to accomplish this is by placing your velocity.properties 
  -file into the rootdirectory of your web app (webapps/appname ) and then 
  +file into the root directory of your web app (webapps/appname ) and then 
   add the following to your WEB-INF/web.xml file :
   </p>
                                                       <div align="left">
  @@ -1195,7 +1195,7 @@
     &lt;servlet-class&gt;com.foo.bar.MyServlet&lt;/servlet-class&gt;
     &lt;init-param&gt;
         &lt;param-name&gt;properties&lt;/param-name&gt;
  -      &lt;param-value&gt;velocity.properties&lt;/param-value&gt;
  +      &lt;param-value&gt;/velocity.properties&lt;/param-value&gt;
     &lt;/init-param&gt;
   &lt;/servlet&gt;
   </pre></td>
  
  
  

Reply via email to