martinc 2004/09/12 13:30:48
Modified: web/examples/WEB-INF/exercise struts-config.xml
web/examples/exercise index.html
Log:
The Errors and Messages tests need to go through the controller so that
the correct message bundle is in place.
Revision Changes Path
1.12 +1 -0 jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- struts-config.xml 7 Sep 2004 02:50:06 -0000 1.11
+++ struts-config.xml 12 Sep 2004 20:30:48 -0000 1.12
@@ -31,6 +31,7 @@
<action path="/html-link-submit"
type="org.apache.struts.webapp.exercise.HtmlSettersAction" name="testbean"
scope="session" validate="false">
<forward name="input" path="/html-link.do" />
</action>
+ <action path="/html-messages" forward="/html-messages.jsp" />
<action path="/html-multibox" forward="/html-multibox.jsp" />
<action path="/html-multibox-submit"
type="org.apache.struts.webapp.exercise.HtmlSettersAction" name="testbean"
scope="session" validate="false">
<forward name="input" path="/html-multibox.do" />
1.4 +1 -1 jakarta-struts/web/examples/exercise/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-struts/web/examples/exercise/index.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.html 20 Jan 2004 03:57:02 -0000 1.3
+++ index.html 12 Sep 2004 20:30:48 -0000 1.4
@@ -54,7 +54,7 @@
<li><a href="html-setters.do">Scalar Setters</a></li>
- <li><a href="html-messages.jsp">Errors and Messages</a></li>
+ <li><a href="html-messages.do">Errors and Messages</a></li>
<li>Other html tags [:TODO:]</li>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]