users@jersey.java.net
[Jersey] How to require _at_Path to end with a slash?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: cowwoc <
cowwoc_at_bbs.darktech.org
>
Date
: Thu, 15 May 2014 21:10:06 -0400
Hi,
I have a root resource @Path("companies/") but Jersey 2.8 is responding
to
http://example.com/companies
.
Is there a way to configure Jersey to match
http://example.com/companies/
but not
http://example.com/companies
?
This is important because AJAX resolves relative paths differently
depending on whether or not the current URL ends with a slash (see
http://stackoverflow.com/a/4765962/14731
)
Any ideas?
Gili
This message
: [
Message body
]
Next message
:
Marek Potociar: "[Jersey] Re: New user not able to subscribe."
Previous message
:
David G: "[Jersey] New user not able to subscribe."
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]