[
http://jira.amdatu.org/jira/browse/AMDATU-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788#comment-12788
]
Bram de Kruijff commented on AMDATU-443:
----------------------------------------
This is an Amdatu bug on how we use Wink. Each JAX-RS annotated service maps to
a new WinkServlet mapped to "/rest/" + Path.value(). Subsequently for wink to
find the appropriate resource internally another Path.value() is added.
> Wink uriInfo brakes absolute paths
> ----------------------------------
>
> Key: AMDATU-443
> URL: http://jira.amdatu.org/jira/browse/AMDATU-443
> Project: Amdatu
> Issue Type: Bug
> Reporter: Paul Bakker
> Fix For: Backlog
>
>
> {code}
> @Context UriInfo uriInfo;
> {code}
> Provides information about the current request such as the requested url.
> {code}
> uriInfo.getAbsolutePath()
> {code}
> This should give the absolute path, but the path is incorrect. All methods
> related to absolute paths have the same problem.
> For
> http://localhost:8080/rest/student/courses it returns
> http://localhost:8080/rest/student/student/courses.
> I'm not sure if this is an Amdatu bug or a bug in Wink itself, but I can't
> find any reports in Wink jira. It might have something to do with how the
> wink servlet is registered.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers