Commit Graph

971 Commits

Author SHA1 Message Date
Lukasz Lenart c19a14f1a7 [maven-release-plugin] prepare for next development iteration 2015-05-03 12:08:08 +02:00
Lukasz Lenart 925741ad1e [maven-release-plugin] prepare release STRUTS_2_3_24 2015-05-03 12:07:56 +02:00
Lukasz Lenart 75027a3cb8 Sets proper version 2015-04-07 11:27:40 +02:00
Lukasz Lenart 6d16144e31 Sets proper version 2015-04-07 11:26:30 +02:00
Lukasz Lenart a31af91199 [maven-release-plugin] prepare for next development iteration 2015-04-07 09:52:42 +02:00
Lukasz Lenart d469fffed9 [maven-release-plugin] prepare release STRUTS_2_3_23 2015-04-07 09:52:32 +02:00
Lukasz Lenart 3e23f2191e [maven-release-plugin] prepare for next development iteration 2015-03-19 07:11:27 +01:00
Lukasz Lenart 22573f8de8 [maven-release-plugin] prepare release STRUTS_2_3_22 2015-03-19 07:11:15 +01:00
Lukasz Lenart 4ad023207f WW-4473 Adds support for title attribute in SubmitHandler 2015-03-06 21:07:17 +01:00
aronshen b888275803 change findBaseAccessor method
in hibernate4.3.7,because javassist3.18.1's class name generate rule is '_$$_jvst'+...
2015-01-20 11:54:10 +08:00
Lukasz Lenart 22cbf40fc2 [maven-release-plugin] prepare for next development iteration 2014-12-31 14:53:22 +01:00
Lukasz Lenart a40e9a90bf [maven-release-plugin] prepare release STRUTS_2_3_21 2014-12-31 14:53:04 +01:00
Lukasz Lenart 64234907c6 WW-4055 Reverts commit dfb2bd3 2014-12-30 09:23:23 +01:00
Lukasz Lenart da4a22078a WW-4413 Improves JSON interceptor to handle JSON arrays 2014-12-29 11:29:08 +01:00
Lukasz Lenart 29de8687dd WW-4419 Fixes NPE when performing async request 2014-12-23 21:49:21 +01:00
Lukasz Lenart 2b150d8775 Adds logging and proper header with licence 2014-12-23 21:48:43 +01:00
Lukasz Lenart a46b803999 WW-4441 Fixes memory leak in CDI factory 2014-12-23 10:29:16 +01:00
Lukasz Lenart 22fbc800f2 Adds basic readme 2014-12-23 09:35:31 +01:00
Lukasz Lenart 43679fc3f4 Adds some JavaDocs 2014-12-20 21:52:01 +01:00
Lukasz Lenart 463a90e8b7 Adds Java8 specific ClassFinder with injection 2014-12-20 21:49:36 +01:00
Lukasz Lenart a7cf429479 Adds site defintion 2014-12-20 21:47:25 +01:00
Lukasz Lenart 99e53d8642 Adds required legal files 2014-12-20 21:46:42 +01:00
Lukasz Lenart a1941a8528 Adds factory to allow create different versions of ClassFinder 2014-12-20 21:46:25 +01:00
Lukasz Lenart 6471eec0ab Defines new java8-plugin to support Java 8 2014-12-20 21:44:43 +01:00
Lukasz Lenart 5f2898eadf Cleans up Maven generated website 2014-12-02 12:41:06 +01:00
Lukasz Lenart 5078537ff6 [maven-release-plugin] prepare for next development iteration 2014-11-21 19:30:20 +01:00
Lukasz Lenart 0320310406 [maven-release-plugin] prepare release STRUTS_2_3_20 2014-11-21 19:30:08 +01:00
Lukasz Lenart f7f4915bd3 [maven-release-plugin] prepare for next development iteration 2014-11-14 08:31:27 +01:00
Lukasz Lenart 0032390ee8 [maven-release-plugin] prepare release STRUTS_2_3_19 2014-11-14 08:31:12 +01:00
Lukasz Lenart 70af4b649a Prepares for next development cycle 2014-11-14 08:17:15 +01:00
zhouyanming 7bce8ef6a8 Defend for NPE when performing async request
when I combined spring async mvc with struts2 sitemesh plugin, It will throw NPE

java.lang.NullPointerException
	at org.apache.struts2.ServletActionContext.getRequest(ServletActionContext.java:112)
	at org.apache.struts2.sitemesh.StrutsSiteMeshFactory.isInsideActionTag(StrutsSiteMeshFactory.java:25)
	at org.apache.struts2.sitemesh.StrutsSiteMeshFactory.shouldParsePage(StrutsSiteMeshFactory.java:21)
	at com.opensymphony.sitemesh.compatability.PageParser2ContentProcessor.handles(PageParser2ContentProcessor.java:45)
	at com.opensymphony.sitemesh.webapp.ContentBufferingResponse$1.shouldParsePage(ContentBufferingResponse.java:29)
	at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.setContentType(PageResponseWrapper.java:63)
	at com.opensymphony.sitemesh.webapp.ContentBufferingResponse$2.setContentType(ContentBufferingResponse.java:39)
	at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.addHeader(PageResponseWrapper.java:135)
	at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:173)
	at org.springframework.http.server.ServletServerHttpResponse.writeHeaders(ServletServerHttpResponse.java:103)
	at org.springframework.http.server.ServletServerHttpResponse.getBody(ServletServerHttpResponse.java:83)
	at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:217)
	at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:208)
	at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:161)
	at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:101)
	at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:199)
	at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:71)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:128)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:659)
	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:625)
	at org.apache.catalina.core.AsyncContextImpl$1.run(AsyncContextImpl.java:239)
	at org.apache.catalina.core.AsyncContextImpl.doInternalDispatch(AsyncContextImpl.java:382)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:215)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:299)
	at org.apache.coyote.http11.AbstractHttp11Processor.asyncDispatch(AbstractHttp11Processor.java:1652)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
2014-11-13 16:06:00 +08:00
Michael Stevens 6291fa920d Fix Memory leak in CDI plugin
The CDI plugin was using a single 'CreationalContext' for all beans created by the CDIObjectFactory. This is incorrect and the size of the 'dependentInstances' (in the WELD implementation) grows indefinately with no beans being removed. 
Fix is to use a new 'CreationalContext' for every bean created. In our tests with WELD this does not effect the applications performance. Idealy a single 'CreationalContext' should be created for the request lifecycle. However the struts ObjectFactory API does not appear to provide any information able the lifecycle.
2014-11-12 13:35:15 +01:00
Aleksandr Mashchenko 61cffe68fe improved interceptor that accepts and maps JSON array 2014-10-13 20:07:07 +03:00
Lukasz Lenart 587e3a41b1 Adds BeanInfo to allow define class attribute in JSPs 2014-09-23 23:02:31 +02:00
Lukasz Lenart 87c204ef6c WW-3698 Updates JavaDoc about new wrapField parameter 2014-09-21 11:05:05 +02:00
Lukasz Lenart d749bb8f7a WW-4049 Removes Locale.setDefault() from tests 2014-08-13 11:06:40 +02:00
Lukasz Lenart 120830f1ac WW-4301 Adds additional use-case to proof the problem exists 2014-08-07 08:43:42 +02:00
Lukasz Lenart dfb2bd3dbe WW-4055 Includes all jars by default 2014-08-07 07:42:58 +02:00
Lukasz Lenart ae324c9811 WW-4110 Adds special flag to use different logic when creating AOP beans 2014-08-06 20:21:25 +02:00
Lukasz Lenart ca50c1aedd WW-4064 WW-3698 Adds additional flag to cover both cases 2014-07-29 10:04:18 +02:00
Lukasz Lenart ff100ce2d9 WW-4331 Returns null instead of throwing exception
This allows other UnknownHandler to be called
2014-07-28 21:17:13 +02:00
Lukasz Lenart 9944b274e9 WW-4349 Fixes problem with dojo.version 2014-07-11 09:21:29 +02:00
Lukasz Lenart ecab1b2b89 WW-4215 Allows constructor injection 2014-07-09 21:16:38 +02:00
Lukasz Lenart cc89601b6d WW-4363 Adds support for freemarker views in portlet resource phase
Closes #17
2014-07-08 23:05:01 +02:00
Lukasz Lenart 01e3380980 WW-3506 Adds additional Http headers to solve problem with IE 2014-07-08 22:29:15 +02:00
Kristoffer Michael 2786455a25 Added support for using freemarker templates for resource requests 2014-06-24 09:21:12 +03:00
Lukasz Lenart d2663cedd2 Sets correct version in poms to match actually released version 2014-05-08 21:57:25 +02:00
Lukasz Lenart 38a3f8bfb6 Merge branch 'hotfix/2.3.16.3'
Conflicts:
	apps/rest-showcase/pom.xml
	archetypes/struts2-archetype-angularjs/pom.xml
	archetypes/struts2-archetype-blank/pom.xml
	archetypes/struts2-archetype-convention/pom.xml
	archetypes/struts2-archetype-dbportlet/pom.xml
	archetypes/struts2-archetype-plugin/pom.xml
	archetypes/struts2-archetype-portlet/pom.xml
	archetypes/struts2-archetype-starter/pom.xml
	assembly/src/main/assembly/docs.xml
2014-05-08 21:55:35 +02:00
Lukasz Lenart a5946d0814 Merge branch 'develop' into feature/exclude-object-class
Conflicts:
	xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java
2014-05-05 06:43:31 +02:00
Lukasz Lenart bcffc256fa [maven-release-plugin] prepare for next development iteration 2014-05-02 17:10:54 +02:00