This week's book giveaway is in the
General Computing
forum.
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Web Services
Author
Request URL using Jersey
Rajkumar balakrishnan
Ranch Hand
Joined: May 29, 2008
Posts: 445
I like...
posted
Apr 12, 2010 03:43:37
0
Is there a way to get the Request URL from where the webservice is being called? I used
UriInfo
but still it doesnt works.
I am using Jersey and Spring, both latest build.
Thanks in advance
Never try to be a hard-worker. Be a smart-worker.
My Blog
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35443
9
posted
Apr 12, 2010 04:06:08
0
Please read
ItDoesntWorkIsUseless
and
TellTheDetails
.
Android apps
–
ImageJ plugins
–
Java web charts
Rajkumar balakrishnan
Ranch Hand
Joined: May 29, 2008
Posts: 445
I like...
posted
Apr 12, 2010 04:10:31
0
Sorry Ulf. I had found the solution just before. I used @Context
UriInfo
as method argument and get the complete URL using getAbsolutePath() method.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Request URL using Jersey
Similar Threads
Servlet Response Object
POSt method
Any good books recommended on REST with Code Examples?
RESTFul JSON example.
Jersey RESTful Web Service - How to determine remote host
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter