users@jersey.java.net

Re: UriInfo bug or as designed?

From: Daniel Manzke <daniel.manzke_at_googlemail.com>
Date: Sat, 7 Feb 2009 21:12:37 +0100

Ok,
I searched for the Java Doc of JAX-RS:

java.net.URI*getRequestUri<http://www.jboss.org/file-access/default/members/resteasy/freezone/docs/1.0.0.GA/javadocs/javax/ws/rs/core/UriInfo.html#getRequestUri()>
*()
          Get the absolute request URI including any query parameters.
Does URI with ANY query parameter mean, that the port jas to be included?!
:)


Bye,
Daniel

2009/2/7 Daniel Manzke <daniel.manzke_at_googlemail.com>

> Hi there,
> ok I got my webdav application up and running, but now I have a problem.
>
> It get different result when calling UriInfo.getRequestUri().
>
>
> Grizzly: http://localhost:80/filesystem
> Tomcat: http://localhost/filesystem
>
> You see the difference? :) The PORT is missing. :)
>
>
>
> Is the okay? Or is it a bug?
>
>
>
>
> Bye and a nice weekend from Germany,
> Daniel
>



-- 
Mit freundlichen Grüßen
Daniel Manzke