Commit Graph

64 Commits

Author SHA1 Message Date
Lukasz Lenart 95b309a9b9 Adds security constraints to web.xml to block access to pure JSP files 2014-03-02 21:13:38 +01:00
Lukasz Lenart 763264238a Moves JSP files into WEB-INF/jsp to promote best practises 2014-01-21 07:44:28 +01:00
Lukasz Lenart 9f5ba8cc53 WW-4243 Renames based test case class to avoid using it outside of core
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1542825 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 21:21:36 +00:00
Lukasz Lenart 9488fd0afb Adds dedicated method to display Login form and base on declarative validation instead of on programmatic one
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1525512 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 06:45:12 +00:00
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart eb2a9eb8ff WW-3593 Adds missing html files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
Lukasz Lenart 64328943bd Configures logging
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1483512 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:11:03 +00:00
Lukasz Lenart e0609a5fe8 WW-3916 adds the latest Jetty maven plugin to blank app
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1406109 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 12:10:41 +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
Maurizio Cucchiara c4d253688f WW-3682 - replaced deprecaded api calls with direct replacements
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1173248 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 16:51:00 +00:00
Lukasz Lenart 1337311088 WW-3639 - Solves problem with not accessible DTDs from OpenSymphony site - the site is closed donw
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1130762 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 19:31:49 +00:00
Lukasz Lenart 6f23804845 Example how to use global exceptions mapping
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1073268 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 09:07:43 +00:00
John Lindal 6d8c7bd11e WW-3548 update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068561 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:35:46 +00:00
Donald J. Brown 78e853bcb3 Repackaging new dispatchers, adding "unsupported" servlet dispatcher, fixing a spring issue where
it was needlessly tied to WebApplicationContext and a rest issue where the autowiring of returned
result objects wasn't copied into the rest plugin from xwork
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674498 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 14:10:42 +00:00
Donald J. Brown b43e67584c Choosing better package name for next-generation dispatchers
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@674254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 03:54:31 +00:00
Donald J. Brown a4b404075c Converted web.xml to use new filter, added default action
WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670307 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 04:00:00 +00:00
Rainer Hermanns 0a23cd4ec5 WW-2537 Fix generics in all codebase
Starting with Java5 enhancements in S2. 
This patch applies required changes to S2 related to the "generified xwork"

XWork Java5 enhancements 
o added generics where possible
o use parameterizes Collection classes where possible
o converted for to for-each loops
o optimized imports
o updated tests
o aligned parameter types with Struts2
o fixed some minor bugs

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670170 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 09:40:34 +00:00
James Mitchell 5129ab3a1d WW-2421 (omnibus)
Remove forgotten file

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@613515 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 06:49:42 +00:00
Antonio Petrelli 8dfaa6dd90 WW-2063
Fixed subversion properties.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@590812 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 20:32:54 +00:00
Donald J. Brown 2092931e7b Fixing blank test
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577750 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:54:31 +00:00
Antonio Petrelli 266a553f5d WW-2049
Reverted the license headers in sample apps code. I left only in pom.xml files and in Java code.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@564339 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 18:59:58 +00:00
Antonio Petrelli f50c16070f WW-2049
First bunch of license headers in sample apps code.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@563238 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 19:53:57 +00:00
Donald J. Brown 21b36fb182 Fixed result type renaming
WW-1715


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@517512 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 03:32:26 +00:00
Ted Nathan Husted cc457eb49f WW-1781 - Set DevMode to false for example applications. Remove other redundant or obsolete settings. Conform indentation n struts-default.xml.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@516928 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 15:31:14 +00:00
Donald J. Brown 8622e46762 Adding notice and license files to all artifacts that will go into Maven
WW-1650


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@500893 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 21:36:41 +00:00
Ted Nathan Husted 52c6bb6106 WW-1538 Organize home page. Add Sandbox section.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490096 13f79535-47bb-0310-9956-ffa450edef68
2006-12-25 02:32:18 +00:00
Wendy Smoak 0b6fccb4ee Fixed eol-style and keywords svn properties.
WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@478625 13f79535-47bb-0310-9956-ffa450edef68
2006-11-23 17:31:52 +00:00
Ted Nathan Husted e26235745c WW-1458 Enable key attribute for submit and reset buttons.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@478007 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 01:42:01 +00:00
Ted Nathan Husted 1af731d118 WW-1421 Move struts.properties settings to struts.xml
WW-1458 Replace OGNL scriptlets with key attribute

Interim commit for discussion purposes. I'm trying to bring the blank up to date with the latest practice. As to the struts.properties, I tried moving these to struts.xml, but it doesn't seem to be working. I copied the elements from the Spring plugin struts-plugin.xml, but IDEA complains that the constant element is not defined. Strangely, I don't get the same prompt for the struts-plugin.xml. I tried deploying the application, and it seems that the struts.xml constants are ignored. 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477484 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 03:20:11 +00:00
Rainer Hermanns b80324e323 struts2-blank app
o fixing action tags to not include context

Issue Number: WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@475375 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 19:32:30 +00:00
Ted Nathan Husted 1181c3d502 WW-1488 Update license headers for Struts 2 source.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@471756 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 15:01:43 +00:00
James Mitchell 37d5baf61f remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@470179 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:50:34 +00:00
Ted Nathan Husted 715ee2c802 WW-1340 Update wildcard links in blank application to match tutorial.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@466065 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 11:18:03 +00:00
Ted Nathan Husted e49bcb5115 WW-1453 Struts-Blank: Update localization.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462563 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 21:01:50 +00:00
Ted Nathan Husted d0c4f04779 WW-1453 Struts-Blank: Add build.bat
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462534 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 19:55:56 +00:00
Donald J. Brown 94ef6de048 Fixed config to extend Struts test case
WW-1453


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462526 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 19:43:59 +00:00
Ted Nathan Husted 174191c5c0 WW-1453 Struts-Blank: Add localization and build.bat file.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454751 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:34:58 +00:00
Ted Nathan Husted 38807e735e WW-1453 Struts-Blank: Add localization.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454651 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 07:13:11 +00:00
Ted Nathan Husted a3ba834c2e WW-1453 Struts-Blank: Add missing Register.jsp. Dispatcher: Move default file list to default.properties.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454642 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 06:52:49 +00:00
Ted Nathan Husted 522abf29c0 WW-1349 Various minor updates to prepare for Struts 2.0.0.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@447068 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 14:09:09 +00:00
Wendy Smoak a688ee347b Added svn:eol-style native property to .java files.
WW-1432

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440591 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 03:24:53 +00:00
Ted Nathan Husted f8b15272d2 WW-1340 In blank, move configuration files to resources package, so as to appease Maven.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440524 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 23:10:18 +00:00
Ted Nathan Husted 3346f1d727 WW-1340 In blank, start to add a suite of example tests.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440438 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 19:01:51 +00:00
Ted Nathan Husted 8c36b9a3be WW-1340 In blank, rename "tutorial" module to "example", to better indicate why it is there.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440415 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 17:29:41 +00:00
Ted Nathan Husted 70da30113d WW-1340 Add "tutorial" module to blank, corresponding with "Bootstrap" tutorial in documentation.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440388 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 16:37:18 +00:00
Donald J. Brown 1f188dbcce Enhancing jsf variable resolver to look in stack, added ability to
configure jsf from struts.xml, added support for more struts-like 
navigation for jsf result, updated to new jetty plugin, fixed bad unit 
test in blank app

WW-1415
WW-1416
WW-1414
WW-1349

 --This line, and those below, will be ignored--

M    apps/starter/pom.xml
M    apps/blank/src/test/java/example/WelcomeTest.java
M    apps/showcase/pom.xml
M    core/src/main/java/org/apache/struts2/jsf/FacesResult.java
M    core/src/main/java/org/apache/struts2/jsf/FacesSetupInterceptor.java
AM   core/src/main/java/org/apache/struts2/jsf/FacesRender.java
M    core/src/main/java/org/apache/struts2/jsf/StrutsVariableResolver.java
M    core/src/main/resources/struts-default.xml


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440278 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 06:40:29 +00:00
Ted Nathan Husted d7f49c5d67 WW-1340 Streamline and extend "blank" for use with tutorial.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@440152 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 19:00:33 +00:00
Ted Nathan Husted 730ac15c3c WW-1349 Update MailReader tour. Conform properties in blank and starter.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@439064 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 22:11:29 +00:00
Ted Nathan Husted b2ede00dd0 WW-1340 Add support for the maven taglib plugin. Update TLD settings to work well with plugin. Change tablib URI reference to "struts-tags" for consistency and to avoid potential conflict other custom taglibs.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@432978 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 15:24:09 +00:00
Ted Nathan Husted 957ad96110 ww-1367 Update applications and taglib references.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@424152 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 01:04:41 +00:00