Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

FormPoster.setURL

Sets the target URL to which the information will ultimately be transmitted via the HTTP POST mechanism.

Syntax

Parameters

URL
The URL to which the message is to be transmitted.

Description

Call setURL to establish the taget URL to which information will ultimately be transmitted when post executes. If you call setURL to establish the URL, post will transmit the information via the HTTP POST method. To transmit a message via the HTTP GET method, establish the target URL with setEncodeURL instead.

Returns

Returns true if URL has valid URL format; otherwise, returns false.

Example

See Also

setEncodeURL , setSecureProtocol , setPort

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.