Lukasz Lenart
1c327e288a
WW-4225 Extracts duplicated code into util class
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1533338 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 07:07:32 +00:00
Lukasz Lenart
c643336945
Merged from STRUTS_2_3_15_1_X - Disables DMI [from revision 1524296]
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1525413 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 18:37:11 +00: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
f7594cf03f
WW-3975 Adds logic to look for handler without specified charset
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1459920 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 18:33:58 +00:00
Lukasz Lenart
f852cacfee
WW-3492 uses getter instead direct field access
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1439265 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 06:14:30 +00:00
Lukasz Lenart
6493648cc1
WW-3492 adds proper handling of If-Modified-Since header
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1439169 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 20:23:06 +00:00
Lukasz Lenart
b7d2e1f015
WW-2537 adds usage of generics and some minor code improvements
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397705 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:56:30 +00:00
Lukasz Lenart
967b424dc8
WW-3896 Solves problem with reading result code from HttpHeaders
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1397694 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 19:12:17 +00:00
Lukasz Lenart
ec070ff937
WW-3857 changes RestActionMapper to return null if it cannot determine action mapping, adds comment to API
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 07:11:09 +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
Lukasz Lenart
61478a9537
WW-3713 allows to return content not only for GET method - correct misspelled word
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1207859 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 13:09:27 +00:00
Lukasz Lenart
6908bc8d0f
WW-3713 allows to return content not only for GET method
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1207576 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:34:18 +00:00
Maurizio Cucchiara
e6738c5e75
Removed useless cast
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1204408 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 09:13:25 +00:00
Johannes Geppert
077bea8a6f
WW-3629: Provide a JSON Content Handler based on Jackson Lib
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1203772 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 18:02:03 +00:00
John Lindal
8f4707d3be
WW-3518 remove duplicated code from RestActionInvocation
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1133590 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:40:33 +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
Maurizio Cucchiara
7aa552ff78
WW-3616 - Error in the detail view of the REST Showcase
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1097499 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 15:15:49 +00:00
Johannes Geppert
19f61519f9
WW-3614: Incorrect Content-Type in REST Plugin JSON Content Handler
...
WW-3536: Specify UTF-8 content type in JsonLibHandler
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1097172 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:36:54 +00:00
Lukasz Lenart
786f6af96f
Changes namespace to be optional parameter
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1086842 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:27:52 +00:00
Lukasz Lenart
7b1494af73
Solves WW-3590 - adds dedicated namespace for REST services
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082295 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 20:49:41 +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
Lukasz Lenart
25c27e2944
Merges branch 2.2.1.1 back to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1053429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 20:48:55 +00:00
Lukasz Lenart
c95a0f8b5e
Added Dynamic Method Invocation support
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_2_1_1@1039579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 22:23:25 +00:00
Lukasz Lenart
753d6f5fde
Solved WW-3494 - many improvments to REST plugin
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1026675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 20:19:47 +00:00
Wesley Wannemacher
350acd8bc9
WW-3128, screwed up originally, forgot to svn add this file after applying the patch
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@791565 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:01:15 +00:00
Wesley Wannemacher
e9978d5c29
WW-3128, thanks Brian!
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@780096 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:22:09 +00:00
Musachy Barroso
a83155009c
Remove codebehind settings
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@728042 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 15:04:09 +00:00
Musachy Barroso
030c7e0193
XW-640 Support multiple unknown handlers
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 17:47:24 +00:00
Donald J. Brown
6070c4ff6d
Better handle ;jsessionid in rest plugin
...
WW-2328
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@680686 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 12:53:18 +00:00
Donald J. Brown
0b8fcdf609
Adding ability to customize validation failure status code, refactoring content type handler manager into
...
interface and impl for easier testing
WW-2358
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@676195 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 15:55:58 +00:00
Donald J. Brown
78e853bcb3
Repackaging new dispatchers, adding "unsupported" servlet dispatcher, fixing a spring issue where
...
it was needlessly tied to WebApplicationContext and a rest issue where the autowiring of returned
result objects wasn't copied into the rest plugin from xwork
WW-2193
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674498 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 14:10:42 +00:00
Jeromy Evans
0f08615c62
WW-2702 Codebehind unknown handler can now instantiate PackageConfig.defaultClassRef instead of only ActionSupport.
...
Rest plugin provides defaultClassImpl impl with index() method to support unknown actions.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@673081 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 13:49:01 +00:00
Jeromy Evans
f36ac2fcc0
WW-2641 Separated the request and response ContentTypeHandlers. Added x-www-form-urlencoded handler
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@672721 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 07:54:36 +00:00
Rainer Hermanns
f54ce89923
WW-2623 Struts 2.1.3 omnibus ticket
...
o optimzed imports
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@666756 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 18:11:00 +00:00
Musachy Barroso
9efd7fcfd9
WW-2667 REST should not extend Codebehind
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663605 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:31:01 +00:00
Musachy Barroso
92cea867a3
WW-2667 REST should not extend Codebehind
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@663603 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:29:25 +00:00
Antonio Petrelli
974e051bc5
WW-2147
...
Fixed license headers where needed.
Re-enabled RAT plugin and fixed its configuration.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@651946 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 13:41:38 +00:00
Donald J. Brown
f02befcd8f
Adding new settings to disable classpath action scanning for the codebehind and rest plugins
...
WW-2506
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649873 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 03:09:23 +00:00
Donald J. Brown
17c6b53a7f
Changing return code to 201 when location header is present
...
WW-2605
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649820 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 14:15:51 +00:00
Rainer Hermanns
cae6a55f03
Update all S2 Wiki docs and S2/XW JavaDocs to reflect camelCase interceptor and result names.
...
Issue Number: WW-2491
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@642323 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 18:07:22 +00:00
Jeromy Evans
69f5373afb
WW-2518 Applied Sarat Pediredla's patch so the RestWorkflowInterceptor uses the method names overridden by the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@631829 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 03:37:12 +00:00
Jeromy Evans
ecbdc6091a
WW-2512 DefaultHttpHeaders no longer attempts to generate an ETag if the model/target is null
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@631421 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 23:03:54 +00:00
Jeromy Evans
641d81f4c5
WW-2428 Reversing patch applied at r628299 for alwaysSelectFullNamespace as it breaks the default use case (no configuration)
...
(alwaysSelectFullNamespace defaults to true somewhere)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@629491 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:02:28 +00:00
Donald J. Brown
9c00c3fcfb
Adding support for always select full namespace
...
WW-2428
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628299 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 14:03:26 +00:00
Wesley Wannemacher
f43c0d77e0
fixes IllegalStateException when running with Jetty 6.1.6, addresses WW-2350
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@627920 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 00:31:23 +00:00
Antonio Petrelli
3b3593d81e
WW-2437
...
Added XWork, XStream, XPP3 licenses and notice.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615603 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 14:06:24 +00:00
Antonio Petrelli
420510aae3
WW-2437
...
Added FreeMarker, JSON-lib and EZMorph notices.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614986 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 20:53:03 +00:00
Antonio Petrelli
4e7c6b76c6
WW-2421
...
Fixed Subversion properties.
Removed "velocity-tools" wrong transitive dependencies.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614309 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:26:23 +00:00
Donald J. Brown
7cd9c9165a
Updating Struts to support the new immutable object scheme and the
...
new xwork capability to limit methods that are called. Still more to do
here.
WW-2363 XW-595 XW-594
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@602665 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 12:11:25 +00:00