marino 2004/01/29 11:41:38
Modified: examples/struts/WEB-INF struts-config.xml web.xml
Log:
added entry points for the two new example apps.
Revision Changes Path
1.5 +20 -0 jakarta-velocity-tools/examples/struts/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file:
/home/cvs/jakarta-velocity-tools/examples/struts/WEB-INF/struts-config.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- struts-config.xml 28 Jan 2004 01:59:00 -0000 1.4
+++ struts-config.xml 29 Jan 2004 19:41:38 -0000 1.5
@@ -67,6 +67,26 @@
redirect="true"
contextRelative="true" />
+ <forward name="app6"
+ path="/app6/true.do"
+ redirect="true"
+ contextRelative="true" />
+
+ <forward name="app6Jsp"
+ path="/app6/true_jsp.do"
+ redirect="true"
+ contextRelative="true" />
+
+ <forward name="app7"
+ path="/app7/true.do"
+ redirect="true"
+ contextRelative="true" />
+
+ <forward name="app7Jsp"
+ path="/app7/true_jsp.do"
+ redirect="true"
+ contextRelative="true" />
+
<forward name="math"
path="/examples/context_tools/mathtool-demo.vm"
redirect="true"
1.6 +26 -0 jakarta-velocity-tools/examples/struts/WEB-INF/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/examples/struts/WEB-INF/web.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- web.xml 28 Jan 2004 01:59:00 -0000 1.5
+++ web.xml 29 Jan 2004 19:41:38 -0000 1.6
@@ -33,6 +33,14 @@
<param-value>/WEB-INF/struts-app5-config.xml</param-value>
</init-param>
<init-param>
+ <param-name>config/app6</param-name>
+ <param-value>/WEB-INF/struts-app6-config.xml</param-value>
+ </init-param>
+ <init-param>
+ <param-name>config/app7</param-name>
+ <param-value>/WEB-INF/struts-app7-config.xml</param-value>
+ </init-param>
+ <init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
@@ -59,6 +67,16 @@
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
+ <servlet>
+ <servlet-name>debugjsp</servlet-name>
+ <description>Added to compile JSPs with debug info</description>
+ <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+ <init-param>
+ <param-name>classdebuginfo</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ <load-on-startup>3</load-on-startup>
+ </servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
@@ -67,6 +85,10 @@
<servlet-name>velocity</servlet-name>
<url-pattern>*.vm</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>debugjsp</servlet-name>
+ <url-pattern>*.jsp</url-pattern>
+ </servlet-mapping>
<welcome-file-list>
<welcome-file>index.vm</welcome-file>
</welcome-file-list>
@@ -93,5 +115,9 @@
<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-location>
+ </taglib>
+ <taglib>
+ <taglib-uri>/WEB-INF/sslext.tld</taglib-uri>
+ <taglib-location>/WEB-INF/tld/sslext.tld</taglib-location>
</taglib>
</web-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]