[CVS site] start of nanocontainr site

Paul Hammant <paul-yCVjj/[email protected]> Wed, 17 Dec 2003 16:30:31 -0600
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Commit in site/docs/WEB-INF on MAIN

decorators.xml +7 added 1.1

velocity.properties +2 added 1.1

web.xml +32 added 1.1

+41

3 added files

start of nanocontainr site

----------

site /docs /WEB-INF

decorators.xml added at 1.1

diff -N decorators.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ decorators.xml 17 Dec 2003 22:30:31 -0000 1.1
@@ -0,0 +1,7 @@

+<decorators defaultdir="/decorators">
+
+ <decorator name="main" page="decorator.html">
+ <pattern>*</pattern>
+ </decorator>
+
+</decorators>

----------

site /docs /WEB-INF

velocity.properties added at 1.1

diff -N velocity.properties
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ velocity.properties 17 Dec 2003 22:30:31 -0000 1.1
@@ -0,0 +1,2 @@

+file.resource.loader.path=/
+runtime.log=/WEB-INF/velocity.log

\ No newline at end of file

----------

site /docs /WEB-INF

web.xml added at 1.1

diff -N web.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ web.xml 17 Dec 2003 22:30:31 -0000 1.1
@@ -0,0 +1,32 @@

+<?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>
+ <filter>
+ <filter-name>sitemesh</filter-name>
+ <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>sitemesh</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>velocity-decorator</servlet-name>
+ <servlet-class>net.sf.eob.decorators.VelocityDecoratorServlet</servlet-class>
+ <init-param>
+ <param-name>properties</param-name>
+ <param-value>/WEB-INF/velocity.properties</param-value>
+ </init-param>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>velocity-decorator</servlet-name>
+ <url-pattern>*.html</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>