Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread James Chaplin
Hello Peer. I am not sure if any of these suggestions will help or not, but you never know. There is a blog post (http://www.programmers-code.org/2017/10/23/struts-tiles-locale-resolver-cannot-obtain-httpservletrequest/) that mentions receiving similar errors due to request.getAttribute("x") ca

Re: ./mvnw spring-boot:run struts equivalent

2020-05-30 Thread James Chaplin
Hello Zahid. It should be possible to deploy a Struts 2 application on most Java application servers that exist these days. I believe that Struts 2.5.x needs an application server supporting a minimum of Servlet API 2.4 / JSP API 2.0. Most application servers released in the past 10-15 y

Re: Issue adding filter to struts2-archetype-starter project

2020-05-09 Thread James Chaplin
Hello Jonathan. As the other replies have pointed out, your code is using/extending "import java.nio.file.DirectoryStream.Filter;". That is an import for a file directory filter, and not a servlet filter. You will want to replace the old import statement with "import javax.servlet.F

Re: OSGi support

2020-05-09 Thread James Chaplin
Hello Lukasz. There is probably some value in keeping the OSGi plugin around, at least until it becomes a problem to maintain. Even with JDK9+ modules, there still seem to be use cases for OSGi (a general interest blog post https://blog.osgi.org/2018/02/osgi-r7-highlights-java-9-support.h

Re: Struts 2.5.23

2020-05-09 Thread James Chaplin
Hello Lukasz. The only other possible inclusion I could think of after a quick look at open bugs might be a fix for WW-5002. It was reported as an issue for 2.5.18 and the last comment indicated it was probably a bug. A decision to whether to include a fix for it should consider if: