DhForm.setSubmitMethod

Overview | Methods | Fields | This Package | All Packages

DhForm.setSubmitMethod

Sets the method to use for submitting the form data.

Syntax

public void setSubmitMethod( int newMethod )

Parameters

newMethod

The new HTTP submit method. This can be either METHOD_GET or METHOD_POST.

Remarks

HTTP commands can be submitted to server as a POST, meaning no reply is expected after sending the data, or as a GET, meaning a reply is expected from the server. Most forms use GET. When a form is submitted as a GET, the submit string is appended to the URL and then opened as if the resulting string were a new anchor.

See Also   getSubmitMethod