• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jersey InjectLink

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running into a problem with using Jersey @InjectLink. I'm using the following injection which works except for the fact that my '?' gets converted to "%3F" which causes a 404 if the resulting link is used.

@InjectLink(value = "${resource.uriInfo.path}?expand={expand}&offset={offset}&limit={limit}", rel = "self", style = InjectLink.Style.ABSOLUTE)

Is there any way to escape the '?' so that it doesn't get encoded on me?
 
reply
    Bookmark Topic Watch Topic
  • New Topic