Package net.lalotech.struts2.map.views.velocity.components

Source Code of net.lalotech.struts2.map.views.velocity.components.HeadDirective

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.lalotech.struts2.map.views.velocity.components;

import com.opensymphony.xwork2.util.ValueStack;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.lalotech.struts2.map.components.Head;
import org.apache.struts2.components.Component;

/**
*
* @author lalotech
*/
public class HeadDirective extends LalotechAbstractDirective{

    @Override
    public String getBeanName() {
        return "head";
    }

    @Override
    protected Component getBean(ValueStack vs, HttpServletRequest hsr, HttpServletResponse hsr1) {
        return new Head(vs, hsr, hsr1);
    }
}
TOP

Related Classes of net.lalotech.struts2.map.views.velocity.components.HeadDirective

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.