Re: Rest Plugin + IndexController and disabling content types

2008-09-01 Thread Jeromy Evans
rakeshxp wrote: 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 )? No, there isn't. If you substitute the CodeBehind plugin for the Convention plugin, then you

Rest Plugin + IndexController and disabling content types

2008-08-30 Thread rakeshxp
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