users@jersey.java.net

Escaping a PathParam slash

From: dloy <david.loy_at_ucop.edu>
Date: Mon, 17 Aug 2009 16:30:06 -0700

I have a PathParam that contains a forward slash(data/fptr11.xls). Is
there a mechanism for escaping the slash within Jersey? I tried URL
Encoding (data%2Ffptr11.xls) in firefox- this got no response - it
appears to repost whatever screen is there. URL Encoding with other
values than %2F appears to work.

To verify this I put in code to convert a $ to /. So data$fptr11.xls AND
data%24fptr11.xls both work properly so the URL Encoding does seem to
work for other characters.

Any ideas?
Thanks
David

Example URL:
http://localhost:28080/jstore/fileState/15/12345-abcde/2/data%2ffptr11.xls