Code Search for Developers
 
 
  

web.xml from ThinkCap Collaborative Knowledge Portal at Krugle


Show web.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
	<display-name>
	Thinkcap</display-name>
	
	<!-- for ZK -->
	<listener>
		<description>Used to cleanup when a session is destroyed</description>
		<display-name>ZK Session Cleaner</display-name>
		<listener-class>org.zkoss.zk.ui.http.HttpSessionListener</listener-class>
	</listener>
	
	<!--  for Thinklab session initialization and finalization -->
	<listener>
		<description>Used to provide users with a Thinklab session any time a session is created,
		and to perform bookkeeping and cleanup when destroyed</description>
		<display-name>Thinkcap session initializer</display-name>
		<listener-class>org.integratedmodelling.thinkcap.ThinkcapSessionListener</listener-class>
	</listener>
	
	<servlet>
		<description>
		Main user entry point</description>
		<display-name>
		ThinkCap</display-name>
		<servlet-name>ThinkCap</servlet-name>
		<servlet-class>
		org.integratedmodelling.thinkcap.ThinkCap</servlet-class>
		
		<!--  REST for ZK -->
		<!-- Must. Specifies URI of the update engine (DHtmlUpdateServlet).
		It must be the same as <url-pattern> for the update engine.
		-->
		<init-param>
			<param-name>update-uri</param-name>
			<param-value>/zkau</param-value>
		</init-param>
		<!-- Optional. Specifies the default log level: OFF, ERROR, WARNING,
			INFO, DEBUG and FINER. If not specified, the system default is used.
		<init-param>
			<param-name>log-level</param-name>
			<param-value>OFF</param-value>
		</init-param>
		-->
		<load-on-startup>1</load-on-startup>
	</servlet>
	
	<servlet-mapping>
		<servlet-name>ThinkCap</servlet-name>
		<url-pattern>/ThinkCap</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ThinkCap</servlet-name>
		<url-pattern>*.cmd</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ThinkCap</servlet-name>
		<url-pattern>*.zul</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ThinkCap</servlet-name>
		<url-pattern>*.zhtml</url-pattern>
	</servlet-mapping>

	<!--  ZK AJAX update engine -->
	<servlet>
		<description>The asynchronous update engine for ZK</description>
		<servlet-name>auEngine</servlet-name>
		<servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>auEngine</servlet-name>
		<url-pattern>/zkau/*</url-pattern>
	</servlet-mapping>

	<!-- change parameters below to suit installation -->
	<session-config>
		<session-timeout>120</session-timeout>
	</session-config>


    <!-- choice of interface -->
    <context-param>
       <param-name>thinkcap.Interface</param-name>
       <param-value>default</param-value> 
    </context-param>

    <!-- begin: indexing configuration -->
    <context-param>
       <param-name>thinkcap.indexing.indexIndividuals</param-name>
       <param-value>no</param-value>
    </context-param>
    <!-- end: indexing configuration -->

    <!-- begin: filesystem parameters -->
    <context-param>
       <param-name>thinkcap.IndexPath</param-name>
       <param-value>C:\tcindex</param-value>
    </context-param>

    <context-param>
       <param-name>thinkcap.UploadPath</param-name>
       <param-value>C:\tcupload</param-value>
    </context-param>
    <!-- end: filesystem parameters -->

    <!-- begin: database parameters -->
    <context-param>
       <param-name>thinkcap.database</param-name>
       <param-value>MySQL</param-value>
    </context-param>

    <context-param>
       <param-name>thinkcap.database.user</param-name>
       <param-value>root</param-value>
    </context-param>

    <context-param>
       <param-name>thinkcap.database.password</param-name>
       <param-value>pompamadonna</param-value>
    </context-param>

    <context-param>
       <param-name>thinkcap.database.host</param-name>
       <param-value>localhost</param-value> 
    </context-param>

    <context-param>
       <param-name>thinkcap.database.driverClass</param-name>
       <param-value>com.mysql.jdbc.Driver</param-value>
    </context-param>
    <!-- end: mySQL parameters -->
	
	<!-- MIME mapping -->
	<mime-mapping>
		<extension>doc</extension>
		<mime-type>application/vnd.ms-word</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>gif</extension>
		<mime-type>image/gif</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>htm</extension>
		<mime-type>text/html</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>html</extension>
		<mime-type>text/html</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>jad</extension>
		<mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>jnlp</extension>
		<mime-type>application/x-java-jnlp-file</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>jpeg</extension>
		<mime-type>image/jpeg</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>jpg</extension>
		<mime-type>image/jpeg</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>js</extension>
		<mime-type>application/x-javascript</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>pdf</extension>
		<mime-type>application/pdf</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>png</extension>
		<mime-type>image/png</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>txt</extension>
		<mime-type>text/plain</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>xls</extension>
		<mime-type>application/vnd.ms-excel</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>xml</extension>
		<mime-type>text/xml</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>xul</extension>
		<mime-type>application/vnd.mozilla.xul-xml</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>zhtml</extension>
		<mime-type>text/html</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>zip</extension>
		<mime-type>application/x-zip</mime-type>
	</mime-mapping>
	<mime-mapping>
		<extension>zul</extension>
		<mime-type>text/html</mime-type>
	</mime-mapping>
	
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>default.html</welcome-file>
		<welcome-file>default.htm</welcome-file>
		<welcome-file>default.jsp</welcome-file>
	</welcome-file-list>
</web-app>




See more files for this project here

ThinkCap Collaborative Knowledge Portal

A portal to explore and edit the knowledge contained in a set of ontologies in intuitive ways. Presents a Dictionary view (a Google-like interface), a Thesaurus view (a graphical display with simplified relationships) and a full graphical Concept view.

Project homepage: http://sourceforge.net/projects/thinkcap
Programming language(s): Java,JavaScript,XML
License: other

  lib/
    ext/
      Filters.jar
      bsh.jar
      commons-el.jar
      commons-fileupload.jar
      commons-io.jar
      groovy.jar
      jcommon.jar
      jfreechart.jar
      jruby.jar
      js.jar
    zkforge/
      dojoz.jar
      fckez.jar
      gmapsz.jar
      json_simple.jar
      timelinez.jar
      zuljsp.jar
    activation.jar
    asm.jar
    bsh.jar
    commons-collections-3.1.jar
    commons-dbcp-1.2.2.jar
    commons-el.jar
    commons-fileupload-1.0.jar
    commons-fileupload.jar
    commons-io.jar
    commons-pool-1.3.jar
    dojoz.jar
    fckez.jar
    gmapsz.jar
    groovy.jar
    icu4j.jar
    icu4j_3_4.jar
    iri.jar
    jasper-compiler-jdt.jar
    jasper-compiler.jar
    jasper-runtime.jar
    jcommon.jar
    jdom-1.0.jar
    jena.jar
    jfreechart.jar
    jruby.jar
    js.jar
    json.jar
    json_simple.jar
    jsp-api.jar
    log4j-1.2.13.jar
    naming-factory-dbcp.jar
    naming-factory.jar
    naming-resources.jar
    protege-owl.jar
    protege.jar
    rdf-api-2001-01-19.jar
    servlet-api.jar
    thinklab.jar
    timelinez.jar
    velocity-1.5-beta2.jar
    velocity-dep-1.5-beta2.jar
    xercesImpl.jar
    xml-apis.jar
    xmlParserAPIs.jar
    zcommon.jar
    zhtml.jar
    zk.jar
    zkplus.jar
    zul.jar
    zweb.jar
  web.xml