Re: Mapping FreeMarker results in struts-rest-plugin

2009-03-10 Thread Bill Stilwell
:56 PM, Musachy Barroso wrote: > xml and json are the output types (the response sent to the client). > JSP and FreeMarker are the result types, which are mapped by > Convention. Check the Convention documentation for details on how the > templates are found (same rules apply for js

Re: issues when using urlrewritefilter with struts2

2009-02-18 Thread Bill Stilwell
struts 2.1.6 and it's working fine. I'm rewriting URLs like: http://example.com/us/news to http://example.com/news?region=us It took me a while to get the rewrite rule working. I can't remember if the problems were the same as yours, but the solution was to not put the query pa

Re: [s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
I'm mostly really loving working with the new rest/convention plugins, but there's stuff in the corners I'm still wrapping my head around. Bill -- Bill Stilwell - http://www.marginalia.org/ bill.stilw...@gmail.com - T

Re: [s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
> > http://struts.apache.org/2.x/docs/rest-plugin.html -- Bill Stilwell - http://www.marginalia.org/ bill.stilw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

[s2] rest plugin and rss output with Rome

2009-01-28 Thread Bill Stilwell
t approach - from my reading of the convention plugin docs, there's no way to map a result based on the extension of the request, only the URL. Thanks in advance for any thoughts; I'd be happy to document any conclusions for inclusion on the wiki, I imagine this would be a common need. T