users@jersey.java.net

Fighting with Regex

From: Daniel Manzke <daniel.manzke_at_googlemail.com>
Date: Tue, 23 Dec 2008 15:28:06 +0100

Hi,
I have some little fights with the regex and jersey. I followed the example
and used "@Path("/filesystem/{folder:.+}"). In the hope that I would get all
folders.

/filesystem/folder1 - works
/filesystem/folder1/folder2 - doesn't work

With the help of wireshark I get a "Method not allowed" returned. Any ideas?
Is Regex supported or experimental?


Do I have any other possibility?
- I saw an older example where I found "lax=true".
- Recursion with Sub Resources?



Thanks,
Daniel