WAP Development with WML and WMLScript
by Ben Forta, Keith D. Lauver, Paul Fonte, Robert M. Juncker, Amy O'Leary, Ronan Mandel, Dylan Bromby
Delivering Data to Applications
After you gather data from the user and store it in a variable using one of the input fields that I've described in this chapter, you must return it to your application. There are two principal methods for sending data back to a WAP application from a deck: a query string embedded in a URL and HTTP POST data.
This section will cover both methods of data communication from the browser to your applica tion. You should note that all of the underlying communication is HTTP and restricted to the bounds of that connectionless protocol.
URL Construction
According to the HTTP 1.1 specification in RFC2068, the query string from a URL can be used to supply data to the server and backing application. The query string ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access