Joe Ess wrote:I would recommend using the standard JEE security mechanism built into the servlet container
Joe Ess wrote: Exactly what do you want to accomplish with annotations?
Joe Ess wrote:Don't use Struts 1.x unless you have a very good reason.
Joe Ess wrote:it appears that the Struts 1.x API works the same way as far as action context is concerned.
Joe Ess wrote:
Zahro Alfelpha wrote:
Bear Bibeault wrote:Fixed
thanks! so is it even possible to edit/delete posts?
You should be able to edit your own posts. I don't know if you can edit titles (I can, but I'm a moderator).
The reason your code isn't working is because you are creating your own context object instances instead of obtaining those that are available via the framework. To get the current ServletActionContext instance, you should use the getActionContext method.
Bear Bibeault wrote:Fixed
Paul Clapham wrote:You're assuming that if Session A makes a request, and then subsequently Session B makes a request, then those two requests must be processed by different threads. I don't see why that should be the case: once Session A's request is finished, the thread which processed it should become available (via the thread pool) to be used by any subsequent request.