本文整理汇总了Java中org.apache.struts.util.RequestUtils.getModuleConfig方法的典型用法代码示例。如果您正苦于以下问题:Java RequestUtils.getModuleConfig方法的具体用法?Java RequestUtils.getModuleConfig怎么用?Java RequestUtils.getModuleConfig使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.struts.util.RequestUtils
的用法示例。
在下文中一共展示了RequestUtils.getModuleConfig方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request)
{
log.info("llamada a Init");
log.info(mapping.getName());
if (!inicialitat) {
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TraFormBeanConfig beanConfig = (TraFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
log.info("valuesClassName=" + valuesClassName);
inicialitat = true;
}
}
示例2: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request)
{
log.debug("llamada a Init");
log.debug(mapping.getName());
if (!inicialitat) {
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TraFormBeanConfig beanConfig = (TraFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
log.debug("valuesClassName=" + valuesClassName);
inicialitat = true;
}
}
示例3: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request) {
log.info("llamada a Init");
log.info(mapping.getName());
if (!inicialitat)
{
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TraduccionFormBeanConfig beanConfig = (TraduccionFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
traduccionClassName = beanConfig.getTraduccionClassName();
log.info("valuesClassName=" + valuesClassName);
log.info("traduccionClassName=" + traduccionClassName);
inicialitat = true;
}
}
示例4: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request)
{
if (!inicialitat)
{
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TramiteFormBeanConfig beanConfig = (TramiteFormBeanConfig) config.findFormBeanConfig(mapping.getName());
tramiteClassName = beanConfig.getTramiteClassName();
log.info("tramiteClassName=" + tramiteClassName);
}
super.init( mapping, request );
}
示例5: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request) {
log.debug("llamada a init " + mapping.getName());
if (!inicialitzat) {
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TraduccionFormBeanConfig beanConfig = (TraduccionFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
traduccionClassName = beanConfig.getTraduccionClassName();
log.debug("valuesClassName=" + valuesClassName);
log.debug("traduccionClassName=" + traduccionClassName);
inicialitzat = true;
}
}
示例6: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request) {
log.debug("llamada a Init");
log.debug(mapping.getName());
if (!inicialitat) {
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
TraduccionFormBeanConfig beanConfig = (TraduccionFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
traduccionClassName = beanConfig.getTraduccionClassName();
log.debug("valuesClassName=" + valuesClassName);
log.debug("traduccionClassName=" + traduccionClassName);
inicialitat = true;
}
}
示例7: init
import org.apache.struts.util.RequestUtils; //导入方法依赖的package包/类
public void init(ActionMapping mapping, HttpServletRequest request)
{
log.info("llamada a Init");
log.info(mapping.getName());
if (!inicialitat) {
ModuleConfig config = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
RdsFormBeanConfig beanConfig = (RdsFormBeanConfig) config.findFormBeanConfig(mapping.getName());
valuesClassName = beanConfig.getValuesClassName();
log.info("valuesClassName=" + valuesClassName);
inicialitat = true;
}
}