dlr         2003/11/10 14:33:54

  Modified:    src/java/org/apache/velocity/servlet VelocityServlet.java
  Log:
  * src/java/org/apache/velocity/servlet/VelocityServlet.java
    Added header JavaDoc patch from Will Glass-Husain (with minor tweaks
    by myself) which notes the @deprecated status of this class.  Use
    VelocityViewServlet from the Velocity-Tools sub-project instead.
  
  Issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24540
  
  Revision  Changes    Path
  1.54      +7 -4      
jakarta-velocity/src/java/org/apache/velocity/servlet/VelocityServlet.java
  
  Index: VelocityServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/servlet/VelocityServlet.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -u -r1.53 -r1.54
  --- VelocityServlet.java      23 Oct 2003 16:13:28 -0000      1.53
  +++ VelocityServlet.java      10 Nov 2003 22:33:54 -0000      1.54
  @@ -115,11 +115,14 @@
    * <li> error() : error handling
    * </ul>
    * <br>
  - * If you put a contentType object into the context within either your
  - * serlvet or within your template, then that will be used to override
  + * If you put a String with key "contentType" object into the context within either 
your
  + * servlet or within your template, then that will be used to override
    * the default content type specified in the properties file.
    *
  - * "contentType" - The value for the Content-Type: header
  + * @deprecated This servlet has been replaced by VelocityViewServlet,
  + * available from the Velocity-Tools sub-project.  VelocityViewServlet
  + * provides support for quick, clean MVC web development.
  + * VelocityServlet will be removed in a future version of Velocity.
    *
    * @author Dave Bryson
    * @author <a href="mailto:[EMAIL PROTECTED]">Jon S. Stevens</a>
  
  
  

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

Reply via email to