Package org.netbeans.modules.j2ee.dd.api.web

Examples of org.netbeans.modules.j2ee.dd.api.web.ServletMapping


            }
            return servlet;
        }

        protected ServletMapping addServletMapping(WebApp webApp, String name, String pattern) throws IOException {
            ServletMapping mapping = (ServletMapping) createBean(webApp, "ServletMapping");
            mapping.setServletName(name);
            mapping.setUrlPattern(pattern);
            webApp.addServletMapping(mapping);
           
            return mapping;
        }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.j2ee.dd.api.web.ServletMapping

Copyright © 2018 www.massapicom. 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.