Lukasz Lenart
175c852eef
WW-4684 Uses charset and adds some logging
2016-09-05 12:14:12 +02:00
Lukasz Lenart
547718fcc6
WW-4684 Uses Content-Type to perform action based on defined type
2016-09-05 12:02:00 +02:00
Lukasz Lenart
78f9bac5e7
[maven-release-plugin] prepare for next development iteration
2016-07-07 10:49:08 +02:00
Lukasz Lenart
17e14ef42b
[maven-release-plugin] prepare release STRUTS_2_5_2
2016-07-07 10:48:45 +02:00
victorsosa
6e07a63797
WW-4650 Json deserialization does not work in 2.5.1
...
logic need to be changed as accept can be a list; the check need to be
done in the list itself.
Accept:application/json, text/plain, */*
2016-06-24 09:06:52 -04:00
Lukasz Lenart
a2de255697
[maven-release-plugin] prepare for next development iteration
2016-06-14 08:07:45 +02:00
Lukasz Lenart
e8aa825f21
[maven-release-plugin] prepare release STRUTS_2_5_1
2016-06-14 08:07:24 +02:00
Lukasz Lenart
e60119436a
WW-4632 Uses proper DTD version
2016-06-12 13:10:49 +02:00
Lukasz Lenart
880c1d54a4
WW-4558 contentType override ignored for JSONInterceptor
2016-05-22 08:30:27 +02:00
Lukasz Lenart
104bd92b88
WW-4627 Adds unit test to confirm the issue
2016-05-13 08:07:59 +02:00
victorsosa
d16aa65098
remove old second contentType parameter
2016-05-06 18:04:04 -04:00
Lukasz Lenart
3a78fd1a11
[maven-release-plugin] prepare for next development iteration
2016-05-05 15:21:50 +02:00
Lukasz Lenart
4bee55fee3
[maven-release-plugin] prepare release STRUTS_2_5
2016-05-05 15:21:26 +02:00
victorsosa
8b8135af79
Merge branch 'ww-4558' of github.com:victorsosa/struts into ww-4558
...
# Conflicts:
# plugins/json/src/main/java/org/apache/struts2/json/JSONInterceptor.java
2016-02-15 10:37:26 -04:00
victorsosa
bab451c6d8
Merge branch 'ww-4558' of github.com:victorsosa/struts into ww-4558
...
# Conflicts:
# plugins/json/src/main/java/org/apache/struts2/json/JSONInterceptor.java
2016-02-15 10:34:15 -04:00
victorsosa
0d49050381
fix patch WW-4558
...
contentType override ignored for JSONInterceptor
use of accept parameter st by the interceptor params
Signed-off-by: victorsosa <victor.sosa@peopleware.do >
2016-02-15 10:31:36 -04:00
victorsosa
fab687a07e
fix patch WW-4558
...
contentType override ignored for JSONInterceptor
From now on:
The "accept" request header parameter must be "application/json" or
"application/json-rpc"
Also the default encoding is "UTF-8"
2016-02-15 08:28:01 -04:00
Lukasz Lenart
249d2f8d83
[maven-release-plugin] prepare for next development iteration
2016-01-21 09:26:18 +01:00
Lukasz Lenart
9a63e6504b
[maven-release-plugin] prepare release STRUTS_2_5_BETA3
2016-01-21 09:25:54 +01:00
cnenning
b0a66b47ac
increased visibilty of methods and constants for better extensibility
2016-01-14 09:33:50 +01:00
cnenning
7bd8dd9559
made methods non static and private, javadoc updates
2016-01-12 14:14:09 +01:00
cnenning
cb11898416
Adds new result 'JSONActionRedirectResult' to json-plugin. Contains tests and example in showcase app. The new result type is intended to be used along with existing JSONValidationInterceptor. It makes it possible to do form validation via ajax and handle form submitting, action execution and redirect evaluation all in one request inside JS context.
2016-01-11 14:36:32 +01:00
Victor Sosa
32597350fe
Update unit test
2016-01-04 12:55:16 -04:00
Victor Sosa
b198e3bf3d
Patch WW-3945
...
Set default encoding for JSONResult to UTF-8
Now the default encoding is UTF-8 for JSON as should be.
2016-01-04 12:20:58 -04:00
Victor Sosa
f9b7ebb87e
Patch WW-3945
...
Set default encoding for JSONResult to UTF-8
Now the default encoding is UTF-8 for JSON as should be.
2016-01-04 12:14:39 -04:00
Victor Sosa
db483ccd15
fix for WW-4269
...
blank double results in NumberFormatException being thrown on sending
JSON in request body
2015-12-30 13:36:58 -04:00
Lukasz Lenart
6fbdab1848
[maven-release-plugin] prepare for next development iteration
2015-09-28 21:15:50 +02:00
Lukasz Lenart
56ae397d75
[maven-release-plugin] prepare release STRUTS_2_5_BETA2
2015-09-28 21:15:38 +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
Lukasz Lenart
98d7756cbb
[maven-release-plugin] prepare for next development iteration
2015-07-17 09:36:30 +02:00
Lukasz Lenart
2a37a2e32d
[maven-release-plugin] prepare release STRUTS_2_5_BETA1
2015-07-17 09:36:16 +02:00
Johannes Geppert
eb564a25e1
Fix wrong closing HTML tags in javadoc comments
2015-07-16 22:02:21 +02:00
Lukasz Lenart
46b0ef632f
WW-4516 Allows disable BeanInfo cache in devMode
2015-06-26 21:45:30 +02:00
Lukasz Lenart
fd0db86560
WW-4518 Moves the new filters to proper package
2015-06-23 17:36:32 +02:00
Lukasz Lenart
8de090fda2
WW-4518 Drops FilterDispatcher
2015-06-23 16:09:34 +02:00
Naros
f18e24d2ac
Renamed setter for devMode.
2015-06-22 10:32:05 -05:00
Naros
88bfeb556d
Removed unused methods
...
Removed JSONUtil.serialize(Object) in favor for using the method that
accepts a boolean to control bean caching functionality.
2015-06-22 09:21:13 -05:00
Naros
a778ba1a3d
Renamed debugMode to devMode.
...
Renamed the debugMode variable to devMode.
2015-06-22 09:18:24 -05:00
Naros
30df43f1fa
WW-4516: Allow JSON plug-in to skip bean cache when devMode is enabled.
2015-06-20 13:19:29 -05:00
Lukasz Lenart
e2347f165c
WW-4077 Moves ValidationAware interface into proper package
2015-06-18 11:33:49 +02:00
Johannes Geppert
5d86c0e5c9
Minor code improvement's in the struts json plugin
...
- Use Java 7 features like diamond operator
- Improve some logging message
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-08 20:17:45 +02:00
Johannes Geppert
27bfb22df7
WW-4510 Upgrade spring plugin dependencies to spring version 4.x
...
- Struts Mocks in JSON and JFreechart plugin needs to be implement the new Spring4 mocks api
2015-06-08 19:09:09 +02:00
Johannes Geppert
243c92bf46
WW-4510 Upgrade spring plugin dependencies to spring version 4.x
...
- The Servlet API mocks in Spring Framework 4.x only supports Servlet 3.0 and higher
2015-06-07 20:59:42 +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
9a33d29bec
Starts work on 2.5 version
2015-05-21 20:43:19 +02:00
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