----- Original Message ----- 
From: "Mark Leone" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, March 24, 2005 2:46 AM
Subject: Re: ugly urls


> Don't know if this will help you or not, but Web Services Description 
> Language (WSDL) provides a standard way to create URLs that encode 
> parameters passed to web apps. If you need to publish your web app URLs 
> or make them available to lots of people, or if clients want to 
> programmatically ingest your published URLs, WSDL can be a convenient 
> mechanism. Most people think of the SOAP bindings that describe web 
> services when they think of WSDL, but it also provides HTTP bindings for 
> exposing web apps. Go to http://www.w3.org/TR/wsdl#_http and see Section 
> 4. Excerpt below.
> 
> 
>     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 McGillis
> >><[EMAIL PROTECTED]> wrote:
> >>    
> >>
> >>>Hi everyone
> >>>
> >>>I wanted to see if in JSP or Tomcat there was an easy way to transform
> >>>      
> >>>
> >ugly
> >  
> >
> >>>urls into pretty urls.  So taking category.jsp?catid=12&type=2 and
> >>>      
> >>>
> >changing
> >  
> >
> >>>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]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to