Hi - 
Has anyone  had luck using .ftl templates with the struts2-rest-plugin?  I
see that .ftl is mapped by the struts-default.xml in struts-core, and
somehow Convention enables this mapping itself, although I don't quite get
how that happens.

The REST plugin resolves .jsp  (or is Convention doing that..?)  but I'm not
sure how, there is no explicit mapping for it in plugin-struts.xml, as there
are for its other supported extensions like xml and json.  I'd imagine that
a .ftl result should resolve in a similar way to a .jsp - some kind of
pass-through to struts-core - for me though, requests to *.ftl result in a
404 when using the rest plugin.

Anybody get this to work? 
Thanks - 
Kent
-- 
View this message in context: 
http://www.nabble.com/Mapping-FreeMarker-results-in-struts-rest-plugin-tp22443339p22443339.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

Reply via email to