On Tue, Aug 14, 2012 at 12:10 PM, Rene Gielen wrote: > So far I fail to see where Struts 2 deviates from or violates the spec. >
Agreed; I've now read the relevant sections of older and new specs, and AFAICT it does not explicitly disallow serving resources. Further, it is arguable that the phrase: "[they may] modify or adapt responses from a resource" can be interpreted with the thought that an action is a resource, just as a servlet is. >From a logical standpoint, this makes sense--in S2 the resources are actions. I'm not sure what to make of the IBM claim, I don't know what they could do, say, with an app using a single servlet mapping with a GET parameter for dispatching, since the parameter wouldn't be mapped in a way WS could do anything about. I also like Spring MVC, but I actually tend to prefer S2's implementation, particularly since I can get a lot of non-S2 functionality by integrating with Spring essentially seamlessly. Dave