craigmcc 01/01/27 15:31:18
Modified: web/example logon.jsp registration.jsp subscription.jsp
Log:
Update the example application to the new recommended standard for
specifying the action property. Values without a leading slash are
still accepted, for backwards compatibility.
Revision Changes Path
1.15 +1 -1 jakarta-struts/web/example/logon.jsp
Index: logon.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/logon.jsp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- logon.jsp 2001/01/23 20:44:54 1.14
+++ logon.jsp 2001/01/27 23:31:14 1.15
@@ -11,7 +11,7 @@
<html:errors/>
-<html:form action="logon.do" focus="username">
+<html:form action="/logon.do" focus="username">
<table border="0" width="100%">
<tr>
1.17 +1 -1 jakarta-struts/web/example/registration.jsp
Index: registration.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/registration.jsp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- registration.jsp 2001/01/07 00:16:28 1.16
+++ registration.jsp 2001/01/27 23:31:15 1.17
@@ -24,7 +24,7 @@
<html:errors/>
-<html:form action="saveRegistration.do">
+<html:form action="/saveRegistration.do">
<html:hidden property="action"/>
<table border="0" width="100%">
1.22 +1 -1 jakarta-struts/web/example/subscription.jsp
Index: subscription.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/subscription.jsp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- subscription.jsp 2001/01/07 00:16:29 1.21
+++ subscription.jsp 2001/01/27 23:31:16 1.22
@@ -33,7 +33,7 @@
<html:errors/>
-<html:form action="saveSubscription.do" focus="host">
+<html:form action="/saveSubscription.do" focus="host">
<html:hidden property="action"/>
<table border="0" width="100%">