4. HTTP GET & POST Binding
WSDL includes a binding for HTTP 1.1's GET and POST verbs in order to describe the interaction between a Web Browser and a web site. This allows applications other than Web Browsers to interact with the site. The following protocol specific information may be specified:
* An indication that a binding uses HTTP GET or POST * An address for the port * A relative address for each operation (relative to the base address defined by the port)
4.1 HTTP GET/POST Examples
The following example shows three ports that are bound differently for a given port type.
If the values being passed are part1=1, part2=2, part3=3, the request format would be as follows for each port:
port1: GET, URL="http://example.com/o1/A1B2/3" port2: GET, URL="http://example.com/o1?p1=1&p2=2&p3=3 port3: POST, URL="http://example.com/o1", PAYLOAD="p1=1&p2=2&p3=3"
Hein Behrens wrote:
http://tuckey.org/urlrewrite/
Does the same for Tomcat.
No need for Apache
----- Original Message ----- From: "Jason Bainbridge" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, March 23, 2005 6:45 PM
Subject: Re: ugly urls
On Wed, 23 Mar 2005 16:47:19 +0000, Didier McGillisugly
<[EMAIL PROTECTED]> wrote:
Hi everyone
I wanted to see if in JSP or Tomcat there was an easy way to transform
changingurls into pretty urls. So taking category.jsp?catid=12&type=2 and
it to category/catid/12/type/2?
Best way would be to put Apache (Webserver) in front of tomcat and then use mod_rewrite rules.
Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]