FileDocCategorySizeDatePackage
CustomFreemarkerManagerUtil.javaAPI DocApache Struts 2.0.9 Apps1570Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.freemarker

CustomFreemarkerManagerUtil

public class CustomFreemarkerManagerUtil extends Object
This class is just a simple util that gets injected into {@link CustomFreemarkerManager} through Spring's constructor injection, serving as a simple example in Struts' Showcase.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetTimeNow()

        SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss");
        return sdf.format(new Date());
    
public java.lang.StringgetTodayDate()

        SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
        return sdf.format(new Date());