Commit Graph

63 Commits

Author SHA1 Message Date
Kusal Kithul-Godage 62988f783f WW-5343 Fix unit test compilation errors 2023-11-15 00:30:12 +11:00
Lukasz Lenart bb1a34daae WW-5327 Stops using JavaBeans notation for setters 2023-07-30 08:25:33 +02:00
Lukasz Lenart c99526ce1f WW-5296 Uses proper DTDs 2023-05-16 20:22:03 +02:00
Lukasz Lenart f0f9e42fa9 WW-5304 Drops deprecated methods and fields in ActionContext 2023-04-10 15:12:11 +02:00
Lukasz Lenart 3774ffa7c3 WW-5234 Improves DTD definitions to use proper URL 2022-09-27 09:21:03 +02:00
Lukasz Lenart 7541d9ab35 WW-5181 Blocks permanently access to static methods 2022-05-05 12:28:09 +02:00
Stefaan Dutry f1ca6d0e2a [WW-5064] Move XWork Spring support into struts2-spring-plugin 2021-09-24 11:40:16 +02:00
Lukasz Lenart 158b1d4fde Merge pull request #229 from sdutry/WW-4796
WW-4796 Rename springconstants to have a uniform naming pattern
2020-05-01 07:10:29 +02:00
Sebastian Peters 176a0d7752 Fix: Resources should be closed
Java 7 introduced the try-with-resources statement,
which implicitly closes Closeables.

Fixes sonar rule squid:S2095
2018-11-19 22:29:46 +01:00
Stefaan Dutry f85149791d rename springconstants to have a uniform naming pattern
Also removed constant from cdi-plugin config, as it is suspected to not be used.

issue:
- WW-4796
2018-05-28 13:15:09 +02:00
Aleksandr Mashchenko b2ff4bb56b WW-4875 Add spring constant configuration 2017-11-28 22:47:46 +02:00
Lukasz Lenart 8b95838c58 Adds proper XML header 2017-10-22 12:29:13 +02:00
Lukasz Lenart e7c65fb0b4 Adds missing header with license 2017-10-21 17:47:51 +02:00
Lukasz Lenart 73359c480b Adds missing header with license 2017-10-21 11:24:48 +02:00
Lukasz Lenart cb389d292d Fixes Maven site generation 2017-10-20 09:05:29 +02:00
Lukasz Lenart 2acf0ab16e Reverts changes introduced with WW-4827 and adds default constructors 2017-09-26 08:47:10 +02:00
Yasser Zamani 682d7a8888 WW-4846 Adds constant to control if include/traverse proxy info in JSONResult 2017-09-05 11:51:14 +04:30
Aleksandr Mashchenko 6f91d0776a Inject Container in constructor of the ObjectFactory 2017-07-27 22:22:33 +03:00
Aleksandr Mashchenko 0d6442bab5 add constant to control proxy member access 2017-06-22 00:58:41 +03:00
Lukasz Lenart e60119436a WW-4632 Uses proper DTD version 2016-06-12 13:10:49 +02:00
Johannes Geppert 775c82a743 WW-4531- Improve javadoc to be compatible with more strict JDK8 javadoc standard 2015-07-24 20:27:31 +02:00
Johannes Geppert eb564a25e1 Fix wrong closing HTML tags in javadoc comments 2015-07-16 22:02:21 +02:00
Johannes Geppert decf48eb71 Minor code improvement's in the struts spring plugin
- Use Java 7 features like diamond operator
- Improve some logging message
- Remove out commented code
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-08 19:51:09 +02:00
Johannes Geppert d788700009 WW-4510 Upgrade spring plugin dependencies to spring version 4.x 2015-06-07 11:35:46 +02:00
Johannes Geppert 8e8771153a WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
- Use log4j2 placeholder for logging messages and optimize logging a bit
2015-05-25 21:25:50 +02:00
Johannes Geppert 95805e54f7 WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
Lukasz Lenart 5f2898eadf Cleans up Maven generated website 2014-12-02 12:41:06 +01: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
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart eb2a9eb8ff WW-3593 Adds missing html files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
Lukasz Lenart 6ec3d2a8b6 WW-3758 - upgrade commons-lang to version 3.1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292705 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:40:53 +00:00
Johannes Geppert 970251ff95 Update to current 2.3 DTD
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1221225 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:22:28 +00:00
Johannes Geppert 36d14eb401 WW-3646: Upgrade Spring Dependencies to 3.0.x
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1134395 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 17:47:55 +00:00
Johannes Geppert 1219e49516 WW-3619: Check LogLevel for all debug, info and warning messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1099157 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 17:53:55 +00:00
Lukasz Lenart 3db5298097 Removes shaded commons
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076544 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:19:37 +00:00
John Lindal 6d8c7bd11e WW-3548 update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068561 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:35:46 +00:00
John Lindal 10857ce2da WW-3512 remove nonexistent SessionContextAutowiringInterceptor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065350 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 19:05:23 +00:00
Musachy Barroso 27f9f37eb7 Use lookup instead if injection for this constants. This should work, but for some reason it fails in the apache zone and it was reported in dev@ also. I am clueless about it.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@817418 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 21:36:17 +00:00
Wesley Wannemacher 9bc7147442 ww-3230
Rich, you're the man, thanks for the patch!

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@817287 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 15:22:08 +00:00
Musachy Barroso d95d3cb354 add log statement
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@811701 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 19:07:51 +00:00
Musachy Barroso d404748283 Add constant to reload config when a change is detected
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@811700 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 19:06:34 +00:00
Musachy Barroso 51a68818dc WW-3208 Spring Plugin using commons.lang.StringUtils instead of shaded class in xwork library
thanks to  Tom Terrace for the patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@799123 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 23:27:25 +00:00
Musachy Barroso fe7a12574b fix bug that added all the watched dirs as stores to the reloading classloader
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794418 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 21:07:45 +00:00
Musachy Barroso 0fd40525cd Make the class reloading implementation work with convention. (use the reloading class loader when an instance is requested using the class name)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794116 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 23:44:43 +00:00
Musachy Barroso 4eb9f31c67 init reloading class loader before calling setApplication
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794105 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 22:45:13 +00:00
Musachy Barroso 125522566e add some logging to class reloading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794094 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 22:24:56 +00:00
Musachy Barroso 49e5110dd4 define constants as empty as a workaround to the IoC container limitation ("required" is ignored in @Inject in constructor params)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793692 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 20:08:21 +00:00
Musachy Barroso 577840562a fix broken build
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793636 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 17:35:54 +00:00
Musachy Barroso 6539d0dd80 add a constant to limit the classes that can be loaded by the reloading class loader, support relative paths
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793626 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 16:58:08 +00:00
Musachy Barroso b2cf05e87a WW-3183 Add class reloading to the Spring plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793388 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 18:17:55 +00:00