struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakeshxp <rakes...@gmail.com>
Subject Rest Plugin + IndexController and disabling content types
Date Sat, 30 Aug 2008 17:41:26 GMT

Hi All,

I have 2 questions regarding the struts-rest plugin ( 2.1.3-snapshot)

1) How can I write a controller that will handle the request on "/" ( i.e
http://www.myhost.com )?

2) As I understand, the rest plugin by default handles XML and JSON
extensions too ( http://struts.apache.org/2.x/docs/rest-plugin.html ) . Is
there a way to disable these extensions ? ( Other than overriding
struts.rest.handlerOverride.EXTENSION and providing a dummy implementation )

Thanks!
-- 
View this message in context: http://www.nabble.com/Rest-Plugin-%2B-IndexController-and-disabling-content-types-tp19235492p19235492.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