I am using tdk-2.3_01 and running my own application but currently I'm trying to integrate jamwiki-0.6.0 with it.
So what did ..which is as following ...
1. Deployed jamwiki.war file with Tomcat 5.5 , checked it it was working fine.
2.Created jar file for class file and put it in lib directory of tdk-2.3_01.
3.integrated web.xml with tdk-2.3_01 which is as...
<web-app>
-
<servlet>
<servlet-name>brihaspati</servlet-name>
<servlet-class>org.apache.turbine.Turbine</servlet-class>
-
<init-param>
<param-name>applicationRoot</param-name>
<param-value>webContext</param-value>
</init-param>
-
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
-
<security-constraint>
-
<web-resource-collection>
<web-resource-name>templates</web-resource-name>
<url-pattern>/templates/*</url-pattern>
</web-resource-collection>
-
<web-resource-collection>
<web-resource-name>logs</web-resource-name>
<url-pattern>/logs/*</url-pattern>
</web-resource-collection>
-
<web-resource-collection>
<web-resource-name>Courses</web-resource-name>
<url-pattern>/Courses/*</url-pattern>
</web-resource-collection>
-
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
-
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Templates</realm-name>
</login-config>
<!-- set encoding, cache headers, etc. -->
-
<filter>
<filter-name>JAMWikiFilter</filter-name>
<filter-class>org.jamwiki.servlets.JAMWikiFilter</filter-class>
-
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
-
<filter>
<filter-name>Acegi Filter Chain Proxy</filter-name>
<filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
-
<init-param>
<param-name>targetClass</param-name>
<param-value>org.acegisecurity.util.FilterChainProxy</param-value>
</init-param>
</filter>
-
<filter-mapping>
<filter-name>JAMWikiFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-
<filter-mapping>
<filter-name>Acegi Filter Chain Proxy</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-
<listener>
-
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
-
<servlet>
<servlet-name>jamwiki</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
-
<servlet-mapping>
<servlet-name>jamwiki</servlet-name>
<url-pattern>/en/*</url-pattern>
</servlet-mapping>
<!-- virtual wiki mapping(s) -->
-
<servlet-mapping>
<servlet-name>jamwiki</servlet-name>
<url-pattern>/test/*</url-pattern>
</servlet-mapping>
-
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
-
<jsp-config>
-
<taglib>
<taglib-uri>
http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c-rt.tld</taglib-location>
</taglib>
-
<taglib>
<taglib-uri>
http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt-rt.tld</taglib-location>
</taglib>
-
<taglib>
<taglib-uri>
http://jamwiki.org/taglib</taglib-uri>
<taglib-location>/WEB-INF/jamwiki.tld</taglib-location>
</taglib>
-
<taglib>
<taglib-uri>
http://acegisecurity.org/authz</taglib-uri>
<taglib-location>/WEB-INF/authz.tld</taglib-location>
</taglib>
</jsp-config>
</web-app
which is not working , Please let me know the problem.