# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

- Deprecated Methods
  Method and Description
  org.apache.struts2.views.velocity.result.VelocityResult.createContext(VelocityManager, ValueStack, HttpServletRequest, HttpServletResponse, String) since 6.4.0
  org.apache.struts2.views.velocity.VelocityTagLibrary.getVelocityDirectiveClasses() please use {#getDirectiveClasses}
  org.apache.struts2.views.velocity.result.VelocityResult.setVelocityManager(VelocityManager) since 6.4.0
  org.apache.struts2.views.velocity.template.VelocityTemplateEngine.setVelocityManager(VelocityManager) since 6.4.0

- Deprecated Constructors
  Constructor and Description
  org.apache.struts2.views.velocity.StrutsVelocityContext(ValueStack) please use `StrutsVelocityContext(List, ValueStack)` and pass {null} or empty list if no chained contexts were defined
  org.apache.struts2.views.velocity.StrutsVelocityContext(VelocityContext[], ValueStack) please use `StrutsVelocityContext(List, ValueStack)`

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.