Re: Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs

2012-11-07 Thread Miguel Almeida
A follow-up on this. I was able to identify the root cause of this issue. While this is a bit specific to our use case, I share this with the community nonetheless. This was basically caused by the timestamps of the files. My work directory is an NFS mount of another server. For some strange

[Struts2] SessionToken Interceptor used with json Result and Javascript Calls

2012-11-07 Thread Jan Fröhlich
Hi... I try to secure one of my web applications with tokens. Everything works fine with basic jsp pages. But in one case, I call an action from javascript via jquery.ajax and return a json result. To do that, I added two properties to the json result object (documenTable) with token and

Re: Getting request as null

2012-11-07 Thread Chris Pratt
If I had to guess, I'd say that the ServletActionContext hasn't been completely initialized when the Class is instantiated, so calling getServletRequest in an instance initializer isn't going to work. Either call ServletActionContext.getServletRequest() in the method body, or (better option) use

Re: [Struts2] SessionToken Interceptor used with json Result and Javascript Calls

2012-11-07 Thread Ken McWilliams
Can you share the interceptor stack configuration for your normal JSP's and the stack configuration for the json actions? On Wed, Nov 7, 2012 at 5:37 AM, Jan Fröhlich jan.froehl...@infomotion.dewrote: Hi... I try to secure one of my web applications with tokens. Everything works fine with