if ("POST".equals(request().method())) {
}
Alan
On Jan 23, 2012, at 10:46 AM, Klaus Berkling wrote:
> This question may be elementary, but...
>
> How can you tell if a form's submit method was POST or GET? I need to make
> sure that my form data was not submitted with GET, i.e. where the form data
> shows up in the URL.
>
> I would have to check that there was no GET data. I can see the POST data in
> request().contentString().
> I suppose I can examine the URI for something after the "?". Is there an
> easier way?
>
> Thanks
>
>
> kib
>
> "The era of procrastination, of half-measures, of soothing and baffling
> expedients, of delays, is coming to its close. In its place we are entering a
> period of consequences."
> Winston Churchill
>
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com | blog
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/award%40apple.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]