topical media & game development

talk show tell print

professional-portal-09-DirectoryPortlet-build-WEB-INF-web.xml / xml



  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!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>
  
      <!--If define the Portlet Application name MUST end with .par-->
      <display-name>DirectoryPortlet</display-name>
      <description>
          This application is a portlet. It can not be used outside a portal.
          This web.xml file is mandatory in each .par archive file.
      </description>
  
      <servlet>
          <servlet-name>DirectoryPortlet</servlet-name>
          <servlet-class>DirectoryPortlet</servlet-class>
      </servlet>
  
      <servlet-mapping>
          <servlet-name>DirectoryPortlet</servlet-name>
          <url-pattern>/DirectoryPortlet</url-pattern>
      </servlet-mapping>
  
      <welcome-file-list>
          <welcome-file>index.html</welcome-file>
      </welcome-file-list>
  
      <taglib>
          <taglib-uri>portlet</taglib-uri>
          <taglib-location>/WEB-INF/tlds/portlet.tld</taglib-location>
      </taglib>
      
      <taglib>
          <taglib-uri>http://java.sun.com/portlet>
          <taglib-location>/WEB-INF/taglib.tld</taglib-location>
      </taglib>
  </web-app>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.