Package org.apache.openejb.webapp.common

Examples of org.apache.openejb.webapp.common.Alerts.addError()


            return;
        }
        File webXmlFile = new File(confDir, "web.xml");
        if (webXmlFile.exists()) {
            if (!webXmlFile.delete()) {
                alerts.addError("can't replace web.xml");
            }
        }
        String webXml = Installers.readEntry(openejbTomcatCommonJar, "conf/web.xml", alerts);
        if (Installers.writeAll(webXmlFile, webXml, alerts)) {
            alerts.addInfo("Set jasper in production mode in TomEE web.xml");
View Full Code Here

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.