I'm following the html 4.01 spec stated here:
http://www.w3.org/TR/html4/interact/forms.html#h-17.3

It says it's case insensitive and the example further down the page uses the lower case form "post". All other Struts generated attributes and elements are lower case so I changed this to match.

David






From: "Martin Cooper" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Subject: RE: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib /html FormTag.java
Date: Fri, 25 Oct 2002 18:06:31 -0700

Why was this changed? The change makes Struts break compliance with the HTTP
spec, which states:

-----
5.1.1 Method

The Method token indicates the method to be performed on the resource
identified by the Request-URI. The method is case-sensitive.
-----

The method value for a post request is specified as "POST", not "post".

Please change this back.

--
Martin Cooper


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dgraham@;apache.org]
> Sent: Friday, October 25, 2002 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: cvs commit:
> jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java
>
>
> dgraham 2002/10/25 17:05:03
>
> Modified: src/share/org/apache/struts/taglib/html FormTag.java
> Log:
> changed POST to post
>
> Revision Changes Path
> 1.29 +5 -5
> jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
>
> Index: FormTag.java
> ===================================================================
> RCS file:
> /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/ht
ml/FormTag.java,v
> retrieving revision 1.28
> retrieving revision 1.29
> diff -u -r1.28 -r1.29
> --- FormTag.java 14 Oct 2002 18:16:18 -0000 1.28
> +++ FormTag.java 26 Oct 2002 00:05:02 -0000 1.29
> @@ -550,7 +550,7 @@
> results.append(beanName);
> results.append("\"");
> results.append(" method=\"");
> - results.append(method == null ? "POST" : method);
> + results.append(method == null ? "post" : method);
> results.append("\" action=\"");
> results.append(response.encodeURL(getActionMappingURL()));
> results.append("\"");
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>



--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

_________________________________________________________________
Unlimited Internet access -- and 2 months free!  Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to