You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Lukasz Lenart <lu...@apache.org> on 2012/12/09 11:33:33 UTC

Migrating to velocity-tools 2.0

Hi,

I would like to migrate Struts 2 to use the latest Velocity Tools 2.0,
but as I see many thing changes and it isn't just a simple library
replacement.

I've started with VelocityDecoratorServlet [1] from Sitemesh plugin
but stuck, many constants are missing:
- CONTENT_TYPE
- DEFAULT_CONTENT_TYPE
- DEFAULT_OUTPUT_ENCODING

Where to find them or how to replace them ?

[1] https://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/sitemesh/src/main/java/org/apache/struts2/sitemesh/VelocityDecoratorServlet.java


Thanks in advance
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org