Examples of WebResourceLocator


Examples of org.jboss.solder.servlet.resource.WebResourceLocator

     * @return name of the project stage or <code>null</code>
     */
    private String getProjectStageFromLocators() {

        // try to locate web.xml
        WebResourceLocator webResourceLocator = new WebResourceLocator();
        URL webXmlLocation = webResourceLocator.getWebResourceUrl("/WEB-INF/web.xml");

        // try to parse the web.xml if the locator returned a result
        if (webXmlLocation != null) {

            String projectStage = parseWebXml(webXmlLocation);
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.