--- "semaj.najraham" <[EMAIL PROTECTED]> wrote:
> my point is if the user directly types
> ../myApp/viewUserDetails.do?methodToCall=edit&userid=1, it goes to Edit
> User page. 
> 
> Is this how it should behave even if it is POST or I am misunderstanding
> how POST and GET works?

You appear to be misunderstanding not how they work, but what they are.

A form submission may be GET or POST. An *action* is just an action; you
don't define an action as a GET or POST action. Actions (in general) it will
get the parameters regardless of how the request was made. 

The only way an action will differentiate between the two methods is if you
explicitly code different paths for the different request types. For example,
you may wish to only allow POST form submissions.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to