I tried adding .json but it didn't work. Suppose your app puts a user name
in the ID field, the app has to prohibit user names with dots. This makes me
wonder what other characters cannot appear in a resource ID? Could people
working on the REST plugin specify what characters can appear in an ID?

Thanks,
Alex

On Wed, Jan 14, 2009 at 11:40 PM, Joink <s...@insigma.no> wrote:

>
> I'm using Struts 2.1.2 and the REST plugin. I have a controller that is
> used
> to provide user information, and this works like a charm as long as the id
> parameter doesn't contain a dot.
>
> Eg: /app/users/james works as expected. But when i try with
> /app/users/james.bond I get a 404 since Struts interprets the .bond as an
> extension rather than part of the id.
>
> Any one know how to solve this?
> --
> View this message in context:
> http://www.nabble.com/REST-plugin-and-id-params-with-dot%27s-causes-404-not-found-tp21466905p21466905.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Alex Milanovic, MBA & B.Sc.
Technical Director
IOGEO
Girona, Spain
Cell: +34 (639) 972-345

Reply via email to