Compare commits

...

166 Commits

Author SHA1 Message Date
Lukasz Lenart a41f1118fd [maven-release-plugin] copy for tag STRUTS_2_3_5
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5@1394506 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:29:13 +00:00
Lukasz Lenart 755caae35d [maven-release-plugin] prepare release STRUTS_2_3_5
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394505 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:29:07 +00:00
Lukasz Lenart 497c6616cc WW-3884 upgrades version of archetypes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394499 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:12:40 +00:00
Lukasz Lenart 08fa6a2cf2 WW-3884 changes site target
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394497 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:11:24 +00:00
Lukasz Lenart 2784e24fe3 WW-3872 adds Tiles support to portlet example app
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394440 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 10:54:36 +00:00
Lukasz Lenart b83b8586e0 WW-3865 rollbacks changes to TokenInterceptor applied with WW-3582 and adds new method handleToken() to allow in different way lock session object
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1394422 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 09:35:28 +00:00
Lukasz Lenart 3cf58aa002 WW-3880 adds logging when parameter wasn't accepted
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1390696 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:45:24 +00:00
Lukasz Lenart 2cf6cf5bcf WW-3879 Changes logic when the location is path and when full url address
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1390692 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:27:41 +00:00
Johannes Geppert b84a1a9e9c WW-388: Update UI tags in FreeMarker to allow new HTML input types
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1389534 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:43:44 +00:00
Lukasz Lenart 76ff5832b5 WW-3876 adds additional test cases for NumberConverter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1385022 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 06:50:08 +00:00
Lukasz Lenart 3a03c3d735 WW-3811 adds a new constant struts.handle.exception to control when Dispatcher should handle exception and when rethrow it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384108 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:18:45 +00:00
Lukasz Lenart 3547865941 WW-3840 corrects LOG and reduce log level to debug inside cleanUp() method
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384107 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:14:23 +00:00
Lukasz Lenart 95f94ccb64 WW-3144 Adds additional test case to prove that there no problem
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1384088 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 19:11:29 +00:00
Lukasz Lenart 075f5bdae4 Sanitise input variables
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1383793 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:17:24 +00:00
Lukasz Lenart 07a3f39356 WW-2749 adds missing <version/> tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381889 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:53:33 +00:00
Lukasz Lenart 9d33c74b02 WW-2749 adds support for Tiles in Porlets as a dedicated plugin with new PortletTilesResult
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381887 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:48:49 +00:00
Lukasz Lenart 73494b036f WW-3875 extracts static util methods into separated class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381599 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 13:44:33 +00:00
Lukasz Lenart a7161ca7d7 WW-3644 changes support for expression as a dynamic attribute to parse only values enclosed in %{ and }
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381585 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:54:48 +00:00
Lukasz Lenart 62260e0096 WW-3344 corrects mistake in an example
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381573 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:30:24 +00:00
Lukasz Lenart 328ae40cf8 WW-3874 merges AnnotationTools into AnnotationUtils
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1381560 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:25:26 +00:00
Lukasz Lenart edf2f4a302 WW-3870 Adds package inheritance in plugins
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1380129 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 05:45:21 +00:00
Lukasz Lenart 58f6fc4666 WW-3231 adds cssStyle and cssClass attributes to generated <label/> tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379561 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 19:40:40 +00:00
Lukasz Lenart 5cadb2e544 WW-3177 adds better German translation of the error message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379461 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:09:27 +00:00
Lukasz Lenart 5d68b267b5 WW-3177 adds better way to handle error messages when an exception occurs, adds support for I18N to translate exceptions and adds default error messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:06:00 +00:00
Lukasz Lenart ade5c99a07 WW-3866 adds more power to users to check if parameter name can be accepted, adds insecure params test case and cleans up code a bit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1379386 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 09:43:17 +00:00
Johannes Geppert 6ecdb5e353 WW-3864: struts2-archetype-blank compile error
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1376638 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 18:30:10 +00:00
Lukasz Lenart 255b63486c WW-3848 adds warning message that the FilterDispatcher is deprecated and can produce errors when used with other web stacks
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1375926 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 07:58:38 +00:00
René Gielen 80e03182d6 WW-3860
Restrict accepted parameter name length
Thanks to Johno Crawford for the patch.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1368841 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 09:16:47 +00:00
René Gielen a1ca307981 WW-3858
Decouple token names from their respective session attribute names

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1368827 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 08:03:12 +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 828f08ee3a WW-3856 Archetypes are missing some files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367769 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:47:43 +00:00
Lukasz Lenart 77ce77d342 Solves problem with rest-showcase app and adds additional test to proof how excludePackages works
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367763 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:38:52 +00:00
Johannes Geppert 5fa0e9a297 WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1367168 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 16:51:53 +00:00
Johannes Geppert 7bc888f554 WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1366934 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 20:10:06 +00:00
Johannes Geppert eadc86b88d WW-3846 Add a new attributes for optionsCollection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1366884 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 18:23:06 +00:00
Lukasz Lenart 0784a45cb2 WW-3414 removes ObjectFactory as a field and uses ActionContext to retrieve instance of ObjectFactory to allow serialize instances of XWorkList
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:23:33 +00:00
Lukasz Lenart e1788e82eb WW-3839 solves problem with NPE when Log level is WARN
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364627 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 13:31:52 +00:00
Lukasz Lenart 139c4d59a8 WW-3822 adds check if setter was defined as this can be read-only property
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364624 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 13:20:00 +00:00
Lukasz Lenart d34fe187e2 WW-3833 adds new getFormatted method to support localization and conversion errors
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:47:35 +00:00
Lukasz Lenart 74d1231765 WW-3448 add support for query string in forms
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:49:58 +00:00
Lukasz Lenart 4c31279877 WW-3804 enables Radio tag to use dynamic attributes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364090 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:39:17 +00:00
Lukasz Lenart 1b5a1e7c30 WW-3850 solves problem with NPE when ActionValidationManager is trying to load Object-validation.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364079 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:12:48 +00:00
Lukasz Lenart 660c8066e3 WW-3828 adds additional test to check if dynamic attributes work with custom theme
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364077 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:57:02 +00:00
Lukasz Lenart 79b4a4d285 WW-3851 adds FileManager dependency
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364073 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:36:57 +00:00
Lukasz Lenart 14577aee1f WW-3552 adds usage of TextProvider to allow provide user's implementation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1364066 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 11:15:34 +00:00
Lukasz Lenart 11efed59f1 WW-3843 adds proper extension points
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1363947 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 20:44:32 +00:00
Lukasz Lenart 5b312c6678 Resets providedChanged flag to solve potential bug
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1358155 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 12:27:28 +00:00
Lukasz Lenart f8a30084d4 WW-3819 moves inject of reload property directly into FileManager
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1357481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 07:31:14 +00:00
Johannes Geppert 2a82fa100d MailReader App is not active anymore.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1356455 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:16:38 +00:00
Lukasz Lenart b9da5b963e WW-3818 - extracts JBoss specific code into JBossFileManager and some code clean ups
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1352307 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 20:40:27 +00:00
Lukasz Lenart 09adba0f66 WW-3818 - extracts JBoss specific code into JBossFileManager and some code clean ups
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1352301 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 20:27:39 +00:00
Johannes Geppert 803b1b3677 WW-3842: The OptionTransferSelect tag doesn't recognize the attribute doubleOnmouseup and doubleOnmouseover
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1351491 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 21:20:49 +00:00
Lukasz Lenart 6f76303fa7 WW-3834 adds missing @Inject annotations to enable OVal support for JPA
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1345102 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 12:15:57 +00:00
Lukasz Lenart e3b66874d6 WW-3831 adds the same behaviour as in ServletUrlRenderer to render dynamic action in URL tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344990 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 05:42:55 +00:00
Lukasz Lenart b0a7c6c8d3 WW-3173 adds missing closing tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344620 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:36:59 +00:00
Lukasz Lenart fdb93f691d WW-3826 adds new StrutsPortletTestCase to simplify testing actions to be used in portlet environment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344572 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 05:59:06 +00:00
Lukasz Lenart 14db2edcab WW-3824 changes encoding definition to uppercase for Ajax requests to match specification
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344143 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 08:18:33 +00:00
Lukasz Lenart c8ba67f4bd WW-3824 changes encoding definition to uppercase for Ajax requests to match specification
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344134 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 07:43:18 +00:00
Lukasz Lenart b70bdeefda WW-3828 adds support for dynamic attributes not only for String literals but for other objects
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1343701 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 12:43:59 +00:00
Lukasz Lenart 8bd9cc6f48 WW-3173 adds additional test case to prove usage of inline map
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1343639 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:02:31 +00:00
Lukasz Lenart 351aae79b9 WW-3813 rollbacks site target after releasing a new version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1342582 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 11:37:59 +00:00
Lukasz Lenart b577d723e9 WW-3802 adds missing statement to delete CGI parameters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1339021 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 05:56:45 +00:00
Lukasz Lenart bfa7df79b6 WW-3802 moves clean up code to implementation of MultiPartRequest interface
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338715 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 14:10:27 +00:00
Lukasz Lenart f21793d920 WW-3820 changes implementation of getInstanceNames(Class<?> type) to return empty set instead of null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338660 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:42:38 +00:00
Lukasz Lenart fca4405004 WW-3817 introduces FileManagerFactory with default implementation and refactors all the code to use the new approach
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338643 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:05:50 +00:00
Johannes Geppert 8ca2735e94 WW-3815: Dispatching after action phase renders with different stack/TextProvider
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338360 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:42:11 +00:00
Lukasz Lenart 81b70737a1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337583 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 16:06:55 +00:00
Lukasz Lenart 4e61119eab [maven-release-plugin] prepare release STRUTS_2_3_4
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337581 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 16:06:29 +00:00
Lukasz Lenart 7eb6cdbeaa WW-3813 Prepares for release
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337576 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 15:45:50 +00:00
Lukasz Lenart f75cc72633 WW-3812 wraps Arrays.asList with new ArrayList() to allow add() operation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1337447 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 05:44:27 +00:00
Lukasz Lenart 517de353c1 WW-3763 adds setter to inject missing UrlHelper
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1336486 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 05:54:36 +00:00
Lukasz Lenart 02a84be2c7 WW-3810 reverts support for JBoss 5.1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1335463 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 12:28:02 +00:00
Lukasz Lenart 5af2eda14c Reverts site target
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1333786 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 07:15:29 +00:00
Lukasz Lenart 997c577d4f WW-3805 solves problem with reloading configuration on each request even no changes to file
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1331402 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 12:56:02 +00:00
Lukasz Lenart b382c5c021 WW-3803 improves support for JAR inside EAR package when used with JBoss 7
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1331373 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 12:12:03 +00:00
Lukasz Lenart 0e5d4f3e9f Updated tag version and name
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1331339 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 10:22:26 +00:00
Lukasz Lenart 37ebc858a3 Improves logging messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1330502 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 19:25:03 +00:00
Lukasz Lenart 495753e1aa WW-3801 adds logic to clean ups uploaded files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1328528 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:23:26 +00:00
Lukasz Lenart 0b2069dba0 WW-3803 solves problem with package name contains the package locator
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1328527 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:21:40 +00:00
Lukasz Lenart 0d8f4d43bd WW-3804 adds support of dynamic attributes to <s:radio/> tag and extends support for dynamic attributes with expression evaluation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1328526 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:19:41 +00:00
Lukasz Lenart 5a9048065f WW-3282 Changes logic to add namespace only once when building urls and cleans up code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1327601 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 18:13:57 +00:00
Lukasz Lenart 73e763faf8 WW-3799 converts FileManager into a bean, adds default implementation and defines new extension point
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326928 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:03:45 +00:00
Lukasz Lenart 73c976a028 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326479 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 04:34:52 +00:00
Lukasz Lenart 6411771bb0 [maven-release-plugin] prepare release STRUTS_2_3_3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326477 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 04:34:13 +00:00
Lukasz Lenart f45597252f WW-3798 changes params for wget to download just WW spaces
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326396 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:49:00 +00:00
Lukasz Lenart 6a4240bdf0 WW-3791 prepares test build
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326342 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:02:27 +00:00
Lukasz Lenart e9a12de7ee Reverst site link to dev one
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1326062 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 07:07:49 +00:00
Lukasz Lenart abd628ea09 WW-3442 adds additional initialisation of HttpSession
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324893 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:49:35 +00:00
Lukasz Lenart 78ee4b8ba2 WW-3796 Changes logic to set encoding on HttpServletRequest if differs from configured
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324888 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:41:06 +00:00
Lukasz Lenart 4f07559dc1 WW-3431 Solves problem with array initialization
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324871 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:13:42 +00:00
Lukasz Lenart f064937984 WW-3059 Changes logic to set encoding for XMLHttpRequest type
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324870 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:12:35 +00:00
Maurizio Cucchiara a99dadfebf Update commons lang3 reference
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324674 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 09:42:13 +00:00
Lukasz Lenart 5c15306366 WW-3442 adds Session initialisation method to solve problem with missing session and allow to initialise session on its own in test cases
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311951 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:33:51 +00:00
Lukasz Lenart ecc0e56440 WW-3432 pushes messages variables to allow customize validation messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311945 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:29:09 +00:00
Lukasz Lenart b90fe0996f WW-3418 solves problem with excludePackages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311931 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:04:57 +00:00
Lukasz Lenart 2dacf99394 Removes strange file
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311908 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:28:32 +00:00
Lukasz Lenart c8850cb558 WW-3413 removes unneeded dependencies
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311903 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:22:01 +00:00
Lukasz Lenart a377ce5c40 WW-3173 adds additional test case to proof that there is no error
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311902 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:20:25 +00:00
Lukasz Lenart 7146f389c7 WW-3795 allows specify location as a relative for result type plainText and add possibility to extend class by overriding protected methods
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311895 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:07:16 +00:00
Lukasz Lenart 73da07e6af WW-3793 corrects name of PlainText Result in documentation to be plainText and not plaintext
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311872 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 17:15:38 +00:00
Lukasz Lenart cbb55e9793 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310831 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:28:23 +00:00
Lukasz Lenart a903a80600 [maven-release-plugin] prepare release STRUTS_2_3_2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310829 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:27:47 +00:00
Lukasz Lenart 79de91800e Prepares to release 2.3.2 version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310826 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 18:53:40 +00:00
Lukasz Lenart d21a0c8e42 WW-3746 Upgrades OGNL to version 3.0.5 to solve problem with running Struts 2 application within secured environment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310686 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 07:30:06 +00:00
Lukasz Lenart aef1c6aaf6 WW-3174 additional test case for Dynamic Attributes support
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310417 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:56:45 +00:00
Lukasz Lenart 3cd48592dd WW-3174 adds logic to support dynamic attributes in tags used with FreeMarker templates
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1310221 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 08:17:00 +00:00
Lukasz Lenart 7eb38fdb66 WW-3636 adds className parameter to @Action annotation, can be useful when used with Spring Framework to instantiate actions
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1309089 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 18:34:30 +00:00
Lukasz Lenart 4b9445de80 WW-3779 adds description of missing extension points and removes some code duplications
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307906 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 21:22:04 +00:00
Lukasz Lenart c71a8dfd2d WW-3780 makes JSON plugin more extendable
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307897 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 20:39:53 +00:00
Lukasz Lenart 2d5fdbe6dd WW-3781 upgrades XStream to 1.4.2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307617 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:13:48 +00:00
Lukasz Lenart 35b84844d9 WW-3750 reduces scope of cashing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1307614 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:04:33 +00:00
René Gielen c7a0ec6256 Added CDI plugin to dependency management section
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1304631 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 22:25:13 +00:00
Lukasz Lenart 880e5d1b7d WW-3783 upgrades json-lib to 2.3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1304317 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 12:44:12 +00:00
René Gielen b0d14cea04 WW-3768:
ThreadLocal was created but not removed appropriately

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1304070 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:17:07 +00:00
Lukasz Lenart c52cd98c9e WW-3777 converts UrlHelper into an interface with default implementation, cleanups code and adds support for generics
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1303298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 07:11:29 +00:00
Lukasz Lenart f01f6e3cfe Merges Struts 2 ClassLoaderUtils into XWork 2 ClassLoaderUtil
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302821 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 10:17:37 +00:00
Lukasz Lenart b5a58f1b90 Improves config-browser plugin, cleanups code, adds support for Convention plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302806 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 09:17:02 +00:00
Lukasz Lenart 9831ecf543 Adds better way to handle JavaScript injection into request parameters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1302803 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 09:10:37 +00:00
Lukasz Lenart 06d2aa4981 WW-3773 recreates HttpSession and SessionMap if HttpSession doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1301989 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 20:08:37 +00:00
Lukasz Lenart 98af0ac15f WW-3774 - initialize portlet mocks only in case if portlet dependencies are available
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1301531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:06:25 +00:00
Lukasz Lenart 86d97dc20b WW-3721 upgrades to latest Struts Master
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1300550 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 14:04:13 +00:00
Lukasz Lenart 6399ec283b WW-3771 upgrades to the latest FreeMarker version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297997 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:47:52 +00:00
Lukasz Lenart f070d7e830 WW-3769 adds missing line of code to generate namespace without explicit specifying it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297994 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:34:38 +00:00
Lukasz Lenart da85bb6abd WW-3631 - adds additional excluded params to avoid session / request / response tempering
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297521 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 15:24:08 +00:00
Lukasz Lenart 524a602fa7 WW-3662 - improves support for JBoss server
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297384 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 08:48:30 +00:00
Lukasz Lenart 9bd53cc212 WW-3762 - extracts one huge converter into smaller classes and implements better conversion mechanism for collections
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1297347 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 06:26:38 +00:00
Lukasz Lenart 26ed57b11a WW-3748 s:bean shouldn't load class, just delegate that to ObjectFactory
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1295146 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 15:14:22 +00:00
René Gielen 20689c0cf7 WW-3767:
- added support for servlet container JNDI lookup key java:comp/env/BeanManager
- added support for custom configuration constant to override standard lookup

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1294420 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:35:04 +00:00
René Gielen 94d75f9cbe Simple code reformatting, no actual change.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1294413 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:28:57 +00:00
Lukasz Lenart 5aa97c1b4b WW-3753 - adheres AnnotationActionValidatorManager to ActionValidatorManager interface's contract
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293795 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:52:12 +00:00
Lukasz Lenart f47cfa889a WW-3753 - adheres AnnotationActionValidatorManager to ActionValidatorManager interface's contract
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293791 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:28:10 +00:00
Lukasz Lenart 9abf8dd346 WW-3763 restores the old behaviour of Portlet plugin, to allow use portlets in standalone application as well
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 08:14:55 +00:00
Lukasz Lenart a9b26ca87f WW-3761 - improves loading templates from file path
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292722 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:28:13 +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
Lukasz Lenart 4b40771643 WW-3760 changes access level to protected to allow override
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292259 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 12:42:01 +00:00
René Gielen f3f8278411 WW-3757
Show how to produce sanitized output of user inputted data

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1290994 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 12:51:44 +00:00
René Gielen 4a5211716f WW-3757
Show how to produce sanitized output of user inputted data

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1290827 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 17:44:04 +00:00
Johannes Geppert ef8c44967d WW-3738: Struts2 Maven Archetypes are broken
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1244929 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 11:02:27 +00:00
Johannes Geppert 29c2eb778b WW-3738: Struts2 Maven Archetypes are broken
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1243174 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 22:33:36 +00:00
Johannes Geppert eafd29bea7 WW-3750: ScopesHashModel calls OgnlValueStack.findValue too many times during rendering freemarker templates
Patch provided by Pelladi Gabor

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1241573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:41:45 +00:00
Johannes Geppert 261c5fb996 WW-3736: Client Validation is broken for Struts2 themes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1240312 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:44:51 +00:00
Maurizio Cucchiara b5eebb9842 WW-3747 - regular expressions in combination with advanced wildcards don't work
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1237092 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 16:40:38 +00:00
Maurizio Cucchiara cc6edbb49a Security issue fixed (see [1] for further details)
[1] https://cwiki.apache.org/confluence/display/WW/S2-009

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1234212 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 00:04:43 +00:00
Lukasz Lenart 3ec7b8ca22 WW-3743 - removes unnecessary second call to getProperty() and removes some unused code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1232518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 18:14:19 +00:00
Lukasz Lenart 4a00dbb6b3 WW-3745 - solves wrong documentation snippets regarding Validation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1232423 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:27:51 +00:00
Maurizio Cucchiara bbec257e3b exploit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1231642 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 09:01:54 +00:00
Lukasz Lenart 4599676018 Changes home url to point to proper url
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1229927 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 08:21:29 +00:00
Maurizio Cucchiara 7cb22a719c Upgraded the site plugin to the latest version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1229535 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 13:36:44 +00:00
John Lindal 031098fa01 WW-3740 apply allowed-methods filter to wildcard actions
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1228497 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 23:19:32 +00:00
Lukasz Lenart 872a7b0b6d WW-3733 - adds missing PortletContext to ActionContext to avoid NPE during PortletResult initialisation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1226265 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 17:29:25 +00:00
Lukasz Lenart 248d0f5879 WW-3284 - adds new Number tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1225353 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 21:47:20 +00:00
Lukasz Lenart 54945c5417 Code formatting
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1225339 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 21:16:31 +00:00
Lukasz Lenart 9cad25f258 Merges changes from 2.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1225038 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 22:34:37 +00:00
Lukasz Lenart 47e12adc0e WW-3414 add JavaDoc comments about new API
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1222075 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 07:08:20 +00:00
Lukasz Lenart 5563389dc6 WW-3414 removes not serializable field from XWorkList and uses Object Factory to obtain instance o XWorkBasicConverter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1222068 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 06:51:14 +00:00
Johannes Geppert 21fcf36ad3 WW-3727: com/opensymphony/xwork2/validator/default.xml uses old DTD
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1221462 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 19:54:24 +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 5ec51ae1bc Adds repository tag and updates to latest version
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1220551 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 21:46:41 +00:00
Lukasz Lenart 09f7f37d72 WW-3264 improves strict DMI mode
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1215253 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:53:42 +00:00
Lukasz Lenart 3683b8f7fd Removes wrong .equal() and formats code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1215225 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 17:04:00 +00:00
Lukasz Lenart 659a688d25 Improves adding tokens to collection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1215224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 17:02:42 +00:00
Lukasz Lenart 0c61bf4c34 Removes duplicated dependencies from poms
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1215053 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 07:29:09 +00:00
Lukasz Lenart d91a168e3f Uses compatible version of Reports plugin with Maven 3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1214267 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 14:44:29 +00:00
Lukasz Lenart 47deea981b WW-3072 - shows properties of Action object instead of Action class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1212532 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 17:34:15 +00:00
Lukasz Lenart c6af386d57 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1212123 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:09:17 +00:00
Lukasz Lenart 133ca637f0 [maven-release-plugin] prepare release STRUTS_2_3_1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1212121 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:05:31 +00:00
529 changed files with 11234 additions and 6251 deletions
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-blank</artifactId>
@@ -34,9 +34,9 @@
<name>Blank Webapp</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/blank/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/blank/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/blank/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/blank</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/blank</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps/blank</url>
</scm>
<dependencies>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-jboss-blank</artifactId>
@@ -34,9 +34,9 @@
<name>JBoss Blank Webapp</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/jboss-blank/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/jboss-blank/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/jboss-blank/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/jboss-blank</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/jboss-blank</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps/jboss-blank</url>
</scm>
<dependencies>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-mailreader</artifactId>
@@ -34,9 +34,9 @@
<name>Mail Reader Webapp</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/mailreader/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/mailreader/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/mailreader/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/mailreader</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/mailreader</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps/mailreader</url>
</scm>
<dependencies>
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-parent</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
@@ -42,9 +42,9 @@
</modules>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps</url>
</scm>
<profiles>
+6 -6
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-portlet</artifactId>
@@ -34,9 +34,9 @@
<name>Portlet Webapp</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/portlet/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/portlet/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/portlet/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/portlet</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/portlet</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps/portlet</url>
</scm>
<profiles>
@@ -190,8 +190,8 @@
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
@@ -22,7 +22,7 @@ package org.apache.struts2.portlet.example.spring;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import com.opensymphony.xwork2.ActionSupport;
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="edit" extends="struts-portlet-default"
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="eventing" extends="struts-portlet-default" namespace="/eventing">
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="help" extends="struts-portlet-default"
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="view" extends="struts-portlet-default"
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<include file="struts-view.xml"/>
@@ -1,3 +1,3 @@
<b>Hello from FreeMarker, ${firstName} ${lastName}!</b>
<b>Hello from FreeMarker, ${firstName?html} ${lastName?html}!</b>
<p/>
<a href="<@s.url action="index"/>">Back to front page</a>
+2 -2
View File
@@ -26,13 +26,13 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-rest-showcase</artifactId>
<packaging>war</packaging>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<name>Struts 2 Rest Showcase Example</name>
<description>Struts 2 Rest Showcase Example</description>
@@ -1,4 +1,4 @@
package org.apache.struts2.rest.example;
package org.demo.rest.example;
public class Order {
String id;
@@ -1,16 +1,11 @@
package org.apache.struts2.rest.example;
package org.demo.rest.example;
import java.util.Collection;
import org.apache.struts2.dispatcher.ServletActionRedirectResult;
import org.apache.struts2.rest.DefaultHttpHeaders;
import org.apache.struts2.rest.HttpHeaders;
import org.apache.struts2.convention.annotation.Results;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Namespaces;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.InterceptorRef;
import com.opensymphony.xwork2.ModelDriven;
import com.opensymphony.xwork2.Validateable;
@@ -1,4 +1,4 @@
package org.apache.struts2.rest.example;
package org.demo.rest.example;
import java.util.*;
@@ -23,8 +23,8 @@
-->
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<!-- Overwrite Convention -->
@@ -20,8 +20,8 @@
<s:iterator value="model">
<tr>
<td>${id}</td>
<td>${clientName}</td>
<td>${amount}</td>
<td><s:property value="clientName"/></td>
<td><s:property value="amount"/></td>
<td><a href="orders/${id}">View</a> |
<a href="orders/${id}/edit">Edit</a> |
<a href="orders/${id}/deleteConfirm">Delete</a></td>
@@ -1,7 +1,9 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@taglib prefix="s" uri="/struts-tags" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Order ${id}</title>
@@ -14,11 +16,11 @@
</tr>
<tr>
<th>Client</th>
<td>${clientName}</td>
<td><s:property value="clientName"/></td>
</tr>
<tr>
<th>Amount</th>
<td>${amount}</td>
<td><s:property value="amount"/></td>
</tr>
</table>
<a href="../orders">Back to Orders</a>
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-apps</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-showcase</artifactId>
@@ -34,9 +34,9 @@
<name>Showcase Webapp</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/showcase/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/showcase/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/showcase/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/showcase</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/apps/showcase</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/apps/showcase</url>
</scm>
@@ -26,12 +26,7 @@ import com.opensymphony.xwork2.util.ValueStack;
import org.apache.struts2.ServletActionContext;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
/**
*/
@@ -67,9 +62,9 @@ public class UITagExample extends ActionSupport implements Validateable {
String thoughts;
public UITagExample() {
favouriteLanguages.add(new Language("EnglishKey", "English Language"));
favouriteLanguages.add(new Language("FrenchKey", "French Language"));
favouriteLanguages.add(new Language("SpanishKey", "Spanish Language"));
favouriteLanguages.add(new Language("EnglishKey", "English Language", "color: blue; font-style: italic;"));
favouriteLanguages.add(new Language("FrenchKey", "French Language", "color: grey;"));
favouriteLanguages.add(new Language("SpanishKey", "Spanish Language", "color: red; font-wight: bold;"));
VehicalType car = new VehicalType("CarKey", "Car");
VehicalType motorcycle = new VehicalType("MotorcycleKey", "Motorcycle");
@@ -268,10 +263,12 @@ public class UITagExample extends ActionSupport implements Validateable {
public static class Language {
String description;
String key;
String style;
public Language(String key, String description) {
public Language(String key, String description, String style) {
this.key = key;
this.description = description;
this.style = style;
}
public String getKey() {
@@ -280,6 +277,9 @@ public class UITagExample extends ActionSupport implements Validateable {
public String getDescription() {
return description;
}
public String getStyle() {
return style;
}
}
@@ -20,6 +20,8 @@
*/
package org.apache.struts2.showcase.model;
import org.apache.commons.lang3.StringEscapeUtils;
import java.io.Serializable;
/**
@@ -47,7 +49,7 @@ public class Skill implements IdEntity {
}
public void setName(String name) {
this.name = name;
this.name = StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(name));
}
public String getDescription() {
@@ -55,7 +57,7 @@ public class Skill implements IdEntity {
}
public void setDescription(String description) {
this.description = description;
this.description = StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(description));
}
public Serializable getId() {
@@ -59,7 +59,7 @@ public class ViewSourceAction extends ActionSupport implements ServletContextAwa
public String execute() throws MalformedURLException, IOException {
if (page != null && page.trim().length() > 0) {
if (page != null) {
InputStream in = ClassLoaderUtil.getResourceAsStream(page.substring(page.indexOf("//")+1), getClass());
page = page.replace("//", "/");
@@ -78,7 +78,7 @@ public class ViewSourceAction extends ActionSupport implements ServletContextAwa
}
}
if (className != null && className.trim().length() > 0) {
if (className != null) {
className = "/"+className.replace('.', '/') + ".java";
InputStream in = getClass().getResourceAsStream(className);
if (in == null) {
@@ -93,7 +93,7 @@ public class ViewSourceAction extends ActionSupport implements ServletContextAwa
String rootPath = ServletActionContext.getServletContext().getRealPath("/");
if (config != null && config.trim().length() > 0 && (rootPath == null || config.startsWith(rootPath))) {
if (config != null && (rootPath == null || config.startsWith(rootPath))) {
int pos = config.lastIndexOf(':');
configLine = Integer.parseInt(config.substring(pos+1));
config = config.substring(0, pos).replace("//", "/");
@@ -107,21 +107,27 @@ public class ViewSourceAction extends ActionSupport implements ServletContextAwa
* @param className the className to set
*/
public void setClassName(String className) {
this.className = className;
if (className != null && className.trim().length()>0) {
this.className = className;
}
}
/**
* @param config the config to set
*/
public void setConfig(String config) {
this.config = config;
if (config != null && config.trim().length()>0) {
this.config = config;
}
}
/**
* @param page the page to set
*/
public void setPage(String page) {
this.page = page;
if (page != null && page.trim().length()>0) {
this.page = page;
}
}
/**
@@ -24,7 +24,7 @@ log4j.logger.noModule=FATAL
# OpenSymphony Stuff
log4j.logger.com.opensymphony=INFO
log4j.logger.org.apache.struts2=DEBUG
log4j.logger.org.apache.struts2=INFO
# Spring Stuff
log4j.logger.org.springframework=INFO
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="actionchaining" extends="struts-default" namespace="/actionchaining">
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="ajax" extends="struts-default">
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="chat" extends="struts-default" namespace="/chat">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="conversion" namespace="/conversion" extends="struts-default">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="filedownload" extends="struts-default" namespace="/filedownload">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="fileupload" extends="struts-default" namespace="/fileupload">
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="freemarker" namespace="/freemarker" extends="struts-default">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="hangman" extends="struts-default" namespace="/hangman">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="integration" extends="struts1-default" namespace="/integration">
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="ognl" namespace="/nodecorate" extends="struts-default">
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="jsf" extends="jsf-default" namespace="/jsf">
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="modelDriven" extends="struts-default" namespace="/modelDriven">
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<!-- START SNIPPET: xworkSample -->
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="ui-tags" extends="struts-default" namespace="/tags/ui">
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<include file="struts-tags-ui.xml"/>
<include file="struts-tags-non-ui.xml" />
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="tiles" extends="tiles-default" namespace="/tiles">
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="token" extends="struts-default" namespace="/token">
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="validation" extends="json-default" namespace="/validation">
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="wait" extends="struts-default" namespace="/wait">
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="xslt" extends="struts-default" namespace="/xslt">
+2 -2
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<!-- START SNIPPET: xworkSample -->
<struts>
@@ -1,5 +1,5 @@
[
<#list options as option>
["${option}"],
["${option?html}"],
</#list>
]
@@ -1,3 +1,3 @@
Hello, <br/>
Today is ${todayDate}, the time now is ${todayTime}
Today is ${todayDate?html}, the time now is ${todayTime?html}
@@ -1,2 +1,2 @@
Hello, ${name}
Hello, ${name?html}
@@ -1,2 +1,2 @@
So, you are a ${gender}
So, you are a ${gender?html}
@@ -118,7 +118,7 @@
<div class="center">
<div class="box">
<h3>Messages Posted In Room [${roomName?default('')}]</h3>
<h3>Messages Posted In Room [${roomName?default('')?html}]</h3>
<@s.url id="url" value="/chat/ajax/messagesAvailableInRoom.action" includeContext="true">
<@s.param name="roomName" value="%{roomName}" />
</@s.url>
@@ -143,7 +143,7 @@
<div class="right">
<div class="box">
<h3>Users Available In Room [${roomName?default('')}]</h3>
<h3>Users Available In Room [${roomName?default('')?html}]</h3>
<@s.url id="url" value="/chat/ajax/usersAvailableInRoom.action" includeContext="true">
<@s.param name="roomName" value="%{roomName}" />
</@s.url>
@@ -1,6 +1,6 @@
<ul>
<#list availableUsers as user>
<li>${user.name}</li>
<li>${user.name?html}</li>
</#list>
</ul>
@@ -6,7 +6,7 @@
<body>
<#list actionMessages as msg>
${msg}
${msg?html}
</#list>
<@s.form action="guess" method="post">
@@ -13,9 +13,9 @@ There are ${peopleCount} people...
</tr>
<#list people as person>
<tr>
<td>${person.id}</td>
<td>${person.name}</td>
<td>${person.lastName}</td>
<td>${person.id?html}</td>
<td>${person.name?html}</td>
<td>${person.lastName?html}</td>
</tr>
</#list>
</table>
@@ -23,10 +23,6 @@
For more "by example" solutions,
see the <a href="http://struts.apache.org/2.x/docs/cookbook.html">Struts Cookbook</a> pages.
</li>
<li>
For a "best practices" example, see the
<a href="http://planetstruts.org/struts2-mailreader/">MailReader application</a> Tour and source code.
</li>
</ul>
</blockquote>
<p>
@@ -8,7 +8,7 @@
You have come to this page because you used an 'action' prefix.<p/>
The text you've enter is ${text?default('')}<p/>
The text you've entered is ${text?default('')?html}<p/>
<@s.url id="url" action="actionPrefixExampleUsingFreemarker" namespace="/tags/non-ui/actionPrefix" />
<@s.a href="%{#url}">Back</@s.a>
@@ -8,7 +8,7 @@
You have come to this page because you used an 'method' prefix.<p/>
The text you've enter is ${text?default('')}<p/>
The text you've enter is ${text?default('')?html}<p/>
<@s.url id="url" action="actionPrefixExampleUsingFreemarker" namespace="/tags/non-ui/actionPrefix" />
<@s.a href="%{#url}">Back</@s.a>
@@ -11,7 +11,7 @@
Because this is a 'redirect-action', the text will be lost, due to a redirection
implies a new request being issued from the client.<p/>
The text you've enter is ${text?default('')}<p/>
The text you've enter is ${text?default('')?html}<p/>
<@s.url id="url" action="actionPrefixExampleUsingFreemarker" namespace="/tags/non-ui/actionPrefix" />
<@s.a href="%{#url}">Back</@s.a>
@@ -55,6 +55,7 @@
name="favouriteLanguage"
listKey="key"
listValue="description"
listCssStyle="style"
emptyOption="true"
headerKey="None"
headerValue="None"/>
+3 -3
View File
@@ -11,14 +11,14 @@
<sx:tabbedpanel id="test">
<sx:div id="one" label="Page" >
<h3>${empty page ? "Unknown page" : page}</h3>
<h3><s:property default="Unknown page" value="page"/></h3>
<pre>
<s:iterator value="pageLines" status="row">
${row.count}: <s:property/></s:iterator>
</pre>
</sx:div>
<sx:div id="two" label="Configuration" >
<h3>${empty config ? "Unknown configuration" : config}</h3>
<h3><s:property default="Unknown configuration" value="config"/></h3>
<pre>
<s:iterator value="configLines" status="row"><s:if test="%{(#row.count-1)==(configLines.size()/2)}">
@@ -27,7 +27,7 @@ ${configLine - padding + row.count - 1}: <s:property/></s:else></s:iterator>
</pre>
</sx:div>
<sx:div id="three" label="Java Action">
<h3>${empty className ? "Unknown or unavailable Action class" : className}</h3>
<h3><s:property default="Unknown or unavailable Action class" value="className"/></h3>
<pre>
<s:iterator value="classLines" status="row">
${row.count}: <s:property/></s:iterator>
+4 -4
View File
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-parent</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
@@ -34,9 +34,9 @@
<name>Struts 2 Maven Archetypes</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes</url>
</scm>
<modules>
+40 -6
View File
@@ -3,18 +3,19 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-blank</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Blank</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-blank/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-blank/</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-blank/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-blank</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-blank</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-blank</url>
</scm>
<properties>
@@ -27,10 +28,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<archetype
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd"
>
<id>struts2-archetype-blank</id>
<!--
@@ -2,11 +2,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${project.version}</version>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>Struts 2 Blank Webapp</name>
<name>\${artifactId}</name>
<properties>
<struts2.version>${project.version}</struts2.version>
@@ -17,19 +17,19 @@
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-junit-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
<scope>test</scope>
</dependency>
@@ -46,20 +46,6 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
<version>2.0.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<!--
- This file is included by the struts.xml file as an example
- of how to break up the configuration file into multiple files.
@@ -1,5 +1,5 @@
HelloWorld.message = ¡Struts está bien!...
HelloWorld.message = \u00A1Struts est\u00E1 bien\!...
requiredstring = ${getText(fieldName)} es requerido.
password = Contraseña
password = Contrase\u00F1a
username = Nombre de Usuario
Missing.message = Página bajo construcción, trate de nuevo en la proxima versión
Missing.message = P\u00E1gina bajo construcci\u00F3n, trate de nuevo en la proxima versi\u00F3n.
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false"/>
<constant name="struts.devMode" value="true"/>
@@ -62,7 +62,7 @@ public class ConfigTest extends StrutsTestCase {
protected void setUp() throws Exception {
super.setUp();
XmlConfigurationProvider c = new XmlConfigurationProvider("struts.xml");
configurationManager.addConfigurationProvider(c);
configurationManager.addContainerProvider(c);
configurationManager.reload();
}
@@ -1,21 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-convention</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Blank Convention</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-convention/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-convention/
</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-convention/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-convention</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-convention</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-convention</url>
</scm>
<properties>
@@ -28,10 +27,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<id>struts2-archetype-convention</id>
</archetype>
@@ -23,6 +23,13 @@
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/webapp</directory>
<includes>
@@ -0,0 +1,7 @@
<archetype
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd"
>
<id>struts2-archetype-convention</id>
</archetype>
@@ -2,11 +2,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${project.version}</version>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>Struts 2 Blank Convention Webapp</name>
<name>\${artifactId}</name>
<properties>
<struts2.version>${project.version}</struts2.version>
@@ -17,26 +17,26 @@
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-convention-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-junit-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
@@ -1,2 +1,2 @@
hello.message = ¡Struts está bien!...
hello.message = \u00A1Struts est\u00E1 bien\!...
requiredstring = ${getText(fieldName)} es requerido.
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false"/>
+41 -9
View File
@@ -1,21 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-dbportlet</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Database Portlet</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/
</developerConnection>
<url>svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-dbportlet</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-dbportlet</developerConnection>
<url>svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-dbportlet</url>
</scm>
<properties>
@@ -28,10 +27,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<id>struts2-archetype-dbblank</id>
<sources>
<source>src/main/java/view/IndexAction.java</source>
<source>src/main/java/edit/IndexAction.java</source>
</sources>
<resources>
<resource>src/main/resources/struts.xml</resource>
<resource>src/main/webapp/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/webapp/WEB-INF/portlet.xml</resource>
<resource>src/main/webapp/WEB-INF/applicationContext.xml</resource>
<resource>src/main/webapp/WEB-INF/view/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/help/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/edit/index-input.jsp</resource>
<resource>src/main/webapp/WEB-INF/edit/index-success.jsp</resource>
</resources>
</archetype>
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="struts2-archetype-dbportlet">
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="true">
<directory>src/test/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.jsp</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="false">
<directory>src/main/webapp/WEB-INF</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
@@ -2,11 +2,11 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<packaging>war</packaging>
<version>${project.version}</version>
<name>Struts 2 Database Portlet</name>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>\${artifactId}</name>
<url>http://www.myComp.com</url>
<description>Struts 2 Database Portlet</description>
@@ -28,31 +28,31 @@
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-portlet-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-convention-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-spring-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<!-- Spring -->
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<constant name="struts.convention.default.parent.package" value="struts-portlet-default" />
+40 -9
View File
@@ -1,22 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-plugin</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Plugin</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-plugin/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-plugin/
</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-plugin/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-plugin</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-plugin</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-plugin</url>
</scm>
<properties>
@@ -29,10 +27,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<id>struts2-archetype-plugin</id>
<sources>
<source>src/main/java/MyResult.java</source>
</sources>
<resources>
<resource>src/main/resources/struts-plugin.xml</resource>
<resource>LICENSE.txt</resource>
<resource>NOTICE.txt</resource>
<resource>README.txt</resource>
</resources>
</archetype>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="struts2-archetype-plugin">
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="true">
<directory>src/test/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.jsp</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="false">
<directory>src/main</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.txt</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
@@ -3,10 +3,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${project.version}</version>
<name>Struts 2 Plugin</name>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>jar</packaging>
<name>\${artifactId}</name>
<dependencies>
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
+40 -9
View File
@@ -1,22 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-portlet</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Portlet</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-portlet/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-portlet/
</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-portlet/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-portlet</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-portlet</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-portlet</url>
</scm>
<properties>
@@ -29,10 +27,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<id>struts2-archetype-portlet</id>
<sources>
<source>src/main/java/HelloAction.java</source>
<source>src/main/java/UpdateNameAction.java</source>
</sources>
<testSources>
<source>src/test/java/JettyPlutoLauncher.java</source>
</testSources>
<resources>
<resource>src/main/resources/struts.xml</resource>
<resource>src/main/webapp/WEB-INF/jsp/view/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/jsp/edit/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/webapp/WEB-INF/portlet.xml</resource>
</resources>
</archetype>
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="struts2-archetype-portlet">
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="true">
<directory>src/test/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.jsp</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="false">
<directory>src/main/webapp/WEB-INF</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
@@ -3,11 +3,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>My Portlet Application</name>
<version>${project.version}</version>
<name>\${artifactId}</name>
<properties>
<struts2.version>${project.version}</struts2.version>
@@ -19,19 +19,19 @@
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-portlet-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<package name="default" extends="struts-portlet-default" namespace="/view">
+40 -9
View File
@@ -1,24 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-archetypes</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>struts2-archetype-starter</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
<packaging>jar</packaging>
<name>Struts 2 Archetypes - Starter</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-starter/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-starter/
</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/trunk/archetypes/struts2-archetype-starter/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-starter</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-starter</developerConnection>
<url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/archetypes/struts2-archetype-starter</url>
</scm>
<properties>
@@ -31,10 +29,43 @@
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/pom.xml</include>
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/archetype-resources/src</directory>
<filtering>false</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype>
<id>struts2-archetype-starter</id>
<sources>
<source>src/main/java/HelloWorldAction.java</source>
<source>src/main/java/IndexAction.java</source>
<source>src/main/java/DateConverter.java</source>
</sources>
<resources>
<resource>src/main/resources/struts.xml</resource>
<resource>src/main/resources/xwork-conversion.properties</resource>
<resource>src/main/resources/struts.properties</resource>
<resource>src/main/resources/applicationContext.xml</resource>
<resource>src/main/resources/log4j.properties</resource>
<resource>src/main/webapp/jsp/index.jsp</resource>
<resource>src/main/webapp/jsp/helloWorld.jsp</resource>
<resource>src/main/webapp/WEB-INF/decorators/main.jsp</resource>
<resource>src/main/webapp/WEB-INF/decorators.xml</resource>
<resource>src/main/webapp/styles/main.css</resource>
<resource>src/main/webapp/styles/forms.css</resource>
<resource>src/main/webapp/styles/layout.css</resource>
<resource>src/main/webapp/styles/layout-1col.css</resource>
<resource>src/main/webapp/styles/layout-navleft-1col.css</resource>
<resource>src/main/webapp/styles/layout-navleft-2col.css</resource>
<resource>src/main/webapp/styles/layout-navtop-1col.css</resource>
<resource>src/main/webapp/styles/layout-navtop-3col.css</resource>
<resource>src/main/webapp/styles/layout-navtop-localleft.css</resource>
<resource>src/main/webapp/styles/layout-navtop-subright.css</resource>
<resource>src/main/webapp/styles/nav-horizontal.css</resource>
<resource>src/main/webapp/styles/nav-vertical.css</resource>
<resource>src/main/webapp/styles/tools.css</resource>
<resource>src/main/webapp/styles/typo.css</resource>
<resource>src/main/webapp/WEB-INF/dwr.xml</resource>
<resource>src/main/webapp/WEB-INF/sitemesh.xml</resource>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/webapp/index.jsp</resource>
</resources>
<testSources>
<source>src/test/java/HelloWorldActionTest.java</source>
<source>src/test/java/IndexActionTest.java</source>
</testSources>
<testResources>
<resource>src/test/resources/test.properties</resource>
</testResources>
</archetype>
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="struts2-archetype-starter">
<fileSets>
<fileSet filtered="true" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="true">
<directory>src/test/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="true">
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.jsp</include>
</includes>
</fileSet>
<fileSet encoding="UTF-8">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.MF</include>
<include>**/*.js</include>
<include>**/*.css</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="false">
<directory>src/main/webapp/WEB-INF</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
@@ -2,12 +2,11 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<packaging>war</packaging>
<version>${project.version}</version>
<name>Struts 2 Starter</name>
<url>http://www.myComp.com</url>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>\${artifactId}</name>
<description>Struts 2 Starter</description>
<properties>
@@ -27,25 +26,25 @@
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-sitemesh-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-spring-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
<version>${struts2.version}</version>
<version>\${struts2.version}</version>
</dependency>
<!-- Servlet & Jsp -->
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
+6 -4
View File
@@ -11,13 +11,13 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-parent</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/assembly</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/assembly</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/assembly</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/assembly</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/assembly</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/assembly</url>
</scm>
<profiles>
@@ -276,6 +276,8 @@
<arg value="-nv" />
<arg value="-E" />
<arg value="-L" />
<arg value="-l 0" />
<arg value="-np" />
<arg value="--directory-prefix=${project.build.directory}/cwiki" />
<arg value="--no-check-certificate" />
<arg value="-r" />
+4 -4
View File
@@ -4,7 +4,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-osgi-bundles</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-osgi-admin-bundle</artifactId>
@@ -12,9 +12,9 @@
<name>Struts 2 OSGi Admin Bundle</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/bundles/admin/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/bundles/admin/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/bundles/admin/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/bundles/admin</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/bundles/admin</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/bundles/admin</url>
</scm>
<dependencies>
+4 -4
View File
@@ -4,7 +4,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-osgi-bundles</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.3.5</version>
</parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-osgi-demo-bundle</artifactId>
@@ -12,9 +12,9 @@
<name>Struts 2 OSGi Demo Bundle</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/bundles/demo/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/bundles/demo/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/bundles/demo/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/bundles/demo</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_3_5/bundles/demo</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_3_5/bundles/demo</url>
</scm>
<dependencies>

Some files were not shown because too many files have changed in this diff Show More