|
Struts example source code file (web.xml)
The Struts web.xml source code<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>struts-portlet <context-param> <param-name>contextConfigLocation <param-value>/WEB-INF/applicationContext*.xml </context-param> <context-param> <param-name>company_id <param-value>struts.apache.org </context-param> <filter> <filter-name>action2 <filter-class> org.apache.struts2.dispatcher.FilterDispatcher </filter-class> </filter> <filter-mapping> <filter-name>action2 <url-pattern>/* </filter-mapping> <listener> <listener-class> com.liferay.portal.servlet.PortletContextListener </listener-class> </listener> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class> org.apache.struts2.portlet.context.ServletContextHolderListener </listener-class> </listener> <servlet> <servlet-name>StrutsPortlet <servlet-class> com.liferay.portal.servlet.PortletServlet </servlet-class> <init-param> <param-name>portlet-class <param-value> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher </param-value> </init-param> <load-on-startup>0 </servlet> <servlet> <servlet-name>preparator <servlet-class> org.apache.struts2.portlet.context.PreparatorServlet </servlet-class> </servlet> <servlet> <servlet-name>dwr <servlet-class>uk.ltd.getahead.dwr.DWRServlet </servlet> <servlet-mapping> <servlet-name>dwr <url-pattern>/dwr/* </servlet-mapping> <servlet-mapping> <servlet-name>StrutsPortlet <url-pattern>/StrutsPortlet/* </servlet-mapping> </web-app> Other Struts examples (source code examples)Here is a short list of links related to this Struts web.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.