struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: S2 annotations to limit HTTP methods?
Date Mon, 18 Mar 2013 20:38:35 GMT
2013/3/18 Paul Benedict <>:
> I see that has @GET, @POST, etc. annotations that can @Target a
> method. Those seem like a good choice, but they are unfortunately part of
> the web services package. Too bad they weren't part of the common Servlet
> support! However, javax.servlet.annotation has @ServletSecurity that allows
> a list of methods being defined. Is that a better choice?
> My use case is that I want S2 AJAX actions that submit data to only be
> accessed via POST.

Is it related to the REST plugin? If so adding additional annotations
and related interceptor should be piece of cake ;-)

+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message