struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Wong <laz...@gmail.com>
Subject Re: Some Idea On REST mapping
Date Tue, 02 Sep 2008 13:40:06 GMT

But there is still a question.

With the namespace we have to place the parameter like prefix...
eg.  http://example.org/namespace/page/1/posts to call postsController
index() method.

It seems it cannot handle urls like
http://example.org/namespace/posts/page/1
The follow one is more easily to accept by user, isn't it?


Jeromy Evans - Blue Sky Minds wrote:
> 
> Ryan Wong wrote:
>> Thanks Jeromy...
>>
>> There is not any document about this one.. 
>> So i missed that feature...
>>
>>   
> 
> Yeah, the NamedVariablePatternMatcher is only documented within messages 
> in struts-user so far.
> I quite like it, although messing with the namespace introduces other 
> complications as other struts2 features don't expect that.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 


-----
Blog: http://www.ryanwong.name
Can Use: English, Chinese
-- 
View this message in context: http://www.nabble.com/Some-Idea-On-REST-mapping-tp19263471p19270479.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message