Thanks.

I did also try that.  request.getPathInfo() dropped _everything_ after the
first semi-colon in the path.

There seemed to have been a bit of a discussion regarding Tomcat's handling
of ";" in the path in 2006:
http://markmail.org/message/4h3kqe7cbwx3ujqi?q=marc+parameters+in+URL+path+segments&page=1&refer=pzinulobvldtpil4

Tim


Sergey Beryozkin wrote:
> 
> Hi
> 
> Perhaps you can do (note the trailing '/')
> 
> @Path("/{id1};{id2};{id3}/")
> 
> And then just do /1;2;3/ ?
> 
> Cheers, Sergey
> 
> 
> 
> -----Original Message-----
> From: Tim Morrow 2 [mailto:[EMAIL PROTECTED] 
> Sent: 09 June 2008 17:51
> To: users@cxf.apache.org
> Subject: Re: JAX-RS specifying multiple values in a pathparam
> 
> 
> Couple more points:
> 
> * A properly escaped semi-colon (%3B) is preserved by getPathInfo.  
> * http://www.ietf.org/rfc/rfc2396.txt section 3.3 states that ";" delimits
> a
> sequence of parameters in a path segment.  Whatever that means.  Not sure
> why its dropped by getPathInfo().
> * Specifying "/{id}" and @Path(value="/{id}", limited=false) allows me to
> pass "/123/456" as a string, but that isn't the look I'm going for.
> 
> I'm in over my head.
> 
> :)
> 
> Tim
> 
> 
> Tim Morrow 2 wrote:
>> 
>> I can easily invoke a resource passing in a single value, for example:
>>    /products/123
>> Is it possible to bind a url like this:
>>    /products/123;456;789
>> to a method signature?  Basically I'd like to return multiple products at
>> once.
>> 
>> I tried defining an @PathParam on an array parameter, but that didn't
>> work.  I tried a @MatrixParam, but as far as I can tell that is for
>> name=value pairs.
>> 
>> Any help or example would be greatly appreciated,
>> 
>> Thanks,
>> 
>> Tim
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp177
> 02725p17737052.html
> Sent from the cxf-user mailing list archive at Nabble.com.
> 
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JAX-RS-specifying-multiple-values-in-a-pathparam-tp17702725p17740085.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to