JavaXT

Form Class

Used to post html form data to an http server. Supports both HTTP GET and POST methods.

Constructors

public Form( String method, String action )

Methods

addInput( javaxt.html.Input input ) returns void
addInput( String name, String value ) returns void
setAction( String action ) returns void
actionURL to send the form data.
setMethod( String method ) returns void
methodHTTP request method (e.g. "GET" or "POST")
setName( String name ) returns void
submit( ) returns javaxt.http.Response
Used to submit the form data. Returns the http response from the server.