|
JSP for UPS Price Quote Bean Demo Ver 1.1 - 5/2/03 |
|
Just a little demo of getting live shipping price quotes from UPS' online price quote service. This demo uses a NeoWebScript page which includes a little JSP (to present the form and results data below) -- the JSP uses a little Bean which actually does the work of sending and receiving the request and general parsing of the response from UPS. NOTE: the Bean also includes a couple of utility methods for presenting options for several of the form elements below.
You can use the form, below, to enter certain shipping information. When submitted, the form will present a live quote from UPS. The quote is displayed below the form in both RAW and parsed tabular formats.
Note: Other optional arguments outlined in the documentation of the UPS Online Price Quote cgi can also be used.
Processed: true -- Lines: 1
-- the Raw response: UPSOnLine5%Missing ShipperPostalCode%6839
| |||||||||||||||||||||||||||||||||