cvs commit: jakarta-struts/doc/userGuide index.xml
husted 2003/08/29 07:27:25 Modified:doc acquiring.xml index.xml learning.xml project.xml using.xml volunteers.xml doc/proposals release-plan_1_2_0.xml workflow.xml doc/resources consultants.xml models.xml powered.xml project.xml doc/stylesheets faqs.xsl news.xsl proposals.xsl resources.xsl struts.xsl userGuide.xsl doc/userGuide index.xml Log: + Routine updates Revision ChangesPath 1.13 +3 -3 jakarta-struts/doc/acquiring.xml Index: acquiring.xml === RCS file: /home/cvs/jakarta-struts/doc/acquiring.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- acquiring.xml 4 Jul 2003 17:37:32 - 1.12 +++ acquiring.xml 29 Aug 2003 14:27:24 - 1.13 @@ -18,7 +18,7 @@ section name=Acquiring Struts href=Acquiring p -The lastest iproduction release/i of Struts is +The latest iproduction release/i of Struts is available in a convenient binary distribution and also with complete source code. /p @@ -34,12 +34,12 @@ li a href=http://jakarta.apache.org/site/binindex.cgi; -bStruts Binary Distribution - Latest release/b/a +bStruts Binary Distribution - Latest stable release/b/a /li li a href=http://jakarta.apache.org/site/sourceindex.cgi; -bStruts Source Code Distribution - Latest Release/b/a +bStruts Source Code Distribution - Latest stable release/b/a /li /ul 1.46 +10 -10jakarta-struts/doc/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/index.xml,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- index.xml 4 Jul 2003 17:37:32 - 1.45 +++ index.xml 29 Aug 2003 14:27:24 - 1.46 @@ -34,17 +34,17 @@ a href=http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html; bModel-View-Controller/b/a (MVC) design paradigm. /p + p -Struts provides its own bController/b component and integrates with -a href=userGuide/preface.html#layersother technologies/a to provide -the Model and the View. -For the bModel/b, Struts can interact with any -a href=resources/models.htmlstandard data access technology/a, -including Enterprise Java Beans, JDBC, and Object Relational Bridge. -For the bView/b, Struts works well with JavaServer Pages, -including a href=./faqs/kickstart.html#jsfJSTL and JSF/a, -as well as Velocity Templates, XSLT, and -a href=resources/views.htmlother presentation systems/a. +Struts provides its own bController/b component and integrates with a href=userGuide/preface.html#layers +other technologies/a to provide the Model and the View. +For the bModel/b, Struts can interact with standard a href=resources/models.htmldata access +technologies/a, like Enterprise Java Beans and JDBC, as well as most any third-party packages, like +Hibernate, iBATIS, or Object Relational Bridge. +For the bView/b, Struts works well with JavaServer Pages, including +a href=./faqs/kickstart.html#jsfJSTL and JSF/a, as well as Velocity Templates, XSLT, and +a href=resources/views.htmlother presentation systems +/a. /p p 1.11 +42 -21jakarta-struts/doc/learning.xml Index: learning.xml === RCS file: /home/cvs/jakarta-struts/doc/learning.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- learning.xml 26 Jul 2003 03:56:26 - 1.10 +++ learning.xml 29 Aug 2003 14:27:24 - 1.11 @@ -62,13 +62,14 @@ /p p -Our bDeveloper Guides/b are detailed technical references to the -extensions and components provided in the Struts distribution. -Included are package overviews and API referencea for each of the Struts -taglibs, along with guides to the Struts Utilities and the Struts -Validator. -The Developer Guides are designed as a day-to-day reference to help you -get the most out of the standard packages. +Our bDeveloper Guides/b are detailed technical references to the extensions and components provided in the +Struts distribution. +Included are package overviews and API reference for each of the Struts taglibs, along with guides to the +Struts Utilities and the Struts Validator. +The Developer Guides are
cvs commit: jakarta-struts/doc/userGuide index.xml preface.xml
husted 2003/08/29 13:14:19 Modified:doc/news index.xml doc/proposals release-plan_1_2_0.xml doc/resources related.xml related_books.xml resources.xml sigs.xml taglibs.xml utilities.xml doc/userGuide index.xml preface.xml Log: Routine updates Revision ChangesPath 1.27 +3 -0 jakarta-struts/doc/news/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/news/index.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- index.xml 26 Jul 2003 03:56:24 - 1.26 +++ index.xml 29 Aug 2003 20:14:19 - 1.27 @@ -33,6 +33,9 @@ li See the a href=http://cvs.apache.org/viewcvs/jakarta-struts/;Struts CVS/a for the current development codebase. /li +li + See the a href=../releases.htmlRelease Guides/a for our release process and coding conventions. +/li /ul hr size=1 noshade=/ 1.4 +5 -1 jakarta-struts/doc/proposals/release-plan_1_2_0.xml Index: release-plan_1_2_0.xml === RCS file: /home/cvs/jakarta-struts/doc/proposals/release-plan_1_2_0.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- release-plan_1_2_0.xml29 Aug 2003 14:27:24 - 1.3 +++ release-plan_1_2_0.xml29 Aug 2003 20:14:19 - 1.4 @@ -15,6 +15,10 @@ /p p + THIS IS AN UNRATIFIED DRAFT DOCUMENT PROVIDED FOR DISCUSSION PURPOSES ONLY! + /p + + p The objective of the strongStruts 1.2.0/strong release is to provide an official version of all the changes that have been made to the main trunk of the jakarta-struts CVS since the release of Struts 1.1 Final. 1.2 +24 -22jakarta-struts/doc/resources/related.xml Index: related.xml === RCS file: /home/cvs/jakarta-struts/doc/resources/related.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- related.xml 23 Jun 2002 15:08:10 - 1.1 +++ related.xml 29 Aug 2003 20:14:19 - 1.2 @@ -10,38 +10,40 @@ chapter name=Struts Resources href=http://husted.com/struts/resources; section name=Other Struts-Related Articles -pbWeb DbForms by Joachim Peer/bbr/ +pbWeb DbForms by Joachim Peer/bbr / - a href=http://www.onjava.com/lpt/a//onjava/2001/07/18/dbforms.html;http://www.onjava.com/lpt/a//onjava/2001/07/18/dbforms.html/a/p -pbExpresso Extends Struts through Integration Roadmap/bbr/ - - a href=http://www.jcorporate.com/html/products/expresso.html;http://www.jcorporate.com/html/products/expresso.html/a br/ +pbExpresso Extends Struts through Integration Roadmap/bbr / + - a href=http://www.jcorporate.com/html/products/expresso.html;http://www.jcorporate.com/html/products/expresso.html/a br / - a href=http://www.jcorporate.com/doc/roadmap.html;http://www.jcorporate.com/doc/roadmap.html/a/p -pbDynamic Value Object/b by raffaele spazzoli br/ +pbDynamic Value Object/b by raffaele spazzoli br / - a href=http://www.theserverside.com/patterns/thread.jsp?thread_id=2722;http://www.theserverside.com/patterns/thread.jsp?thread_id=2722/a/p -pbCoarse Grained BMP beans with Dependent Value Objects/b by Floyd Marinescubr/ +pbCoarse Grained BMP beans with Dependent Value Objects/b by Floyd Marinescubr / - a href=http://www.theserverside.com/patterns/depbmp.jsp;http://www.theserverside.com/patterns/depbmp.jsp/a/p -pbView Helper/b - Design patternsbr/ +pbView Helper/b - Design patternsbr / - a href=http://developer.java.sun.com/developer/restricted/patterns/ViewHelper.html;http://developer.java.sun.com/developer/restricted/patterns/ViewHelper.html/a/p -pbRuby Web Application Framework/b - A framework for developing web/wap applications founded in the Ruby programming language, based on the Jakarta Struts project.br/ +pbRuby Web Application Framework/b - A framework for developing web/wap applications founded in the Ruby programming language, based on the Jakarta Struts project.br / - a href=http://sourceforge.net/projects/ruby-waf/;http://sourceforge.net/projects/ruby-waf//a/p -pbBuilding Web Applications in Java /b - by Brad Coxbr/ - - a href=http://virtualschool.edu/wap/html/problem.html;http://virtualschool.edu/wap/index.html/abr/ +pbBuilding Web Applications in Java /b - by Brad Coxbr / + - a href=http://virtualschool.edu/wap/html/problem.html;http://virtualschool.edu/wap/index.html/abr / - overview of article: a href=http://www.mail-archive.com/[EMAIL
cvs commit: jakarta-struts/doc/userGuide index.xml preface.xml
husted 2003/08/29 15:13:16 Modified:doc index.xml status.xml volunteers.xml doc/faqs kickstart.xml doc/resources models.xml project.xml taglibs.xml doc/userGuide index.xml preface.xml Log: Routine updates Revision ChangesPath 1.47 +6 -0 jakarta-struts/doc/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/index.xml,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- index.xml 29 Aug 2003 14:27:24 - 1.46 +++ index.xml 29 Aug 2003 22:13:16 - 1.47 @@ -164,5 +164,11 @@ /p /section +section +p +a href=faqs/kickstart.html#jsfWhat about JSTL and JavaServer Faces?/a +/p +/section + /body /document 1.37 +12 -10jakarta-struts/doc/status.xml Index: status.xml === RCS file: /home/cvs/jakarta-struts/doc/status.xml,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- status.xml29 Aug 2003 20:14:05 - 1.36 +++ status.xml29 Aug 2003 22:13:16 - 1.37 @@ -159,16 +159,18 @@ liOther potential enhancements for the 1.x.x series ul -liMove to a href=http://xml.apache.org/forrest/;Forrest/a or a href=http://maven.apache.org/;Maven/a for project management/li +liMove to a href=http://xml.apache.org/forrest/;Forrest/a or +a href=http://maven.apache.org/;Maven/a for project management/li liConsider adopting several popular extensions, including: -ul -lia href=http://sslext.sourceforge.net/;SSL Ext/a/li -lia href=http://strutstestcase.sourceforge.net/;TestCase/a/li -lia href=http://stxx.sourceforge.net;Stxx/a (XLST)/li -lia href=http://www.livinglogic.de/Struts/;Workflow/a/li -lia href=http://struts.sf.net;Cocoon Plugin/a/li -lia href=http://struts.sf.net;Scriptable Actions using BSF/a (Bean Scripting Framework)/li -/ul +ul +lia href=http://sslext.sourceforge.net/;SSL Ext/a/li +lia href=http://strutstestcase.sourceforge.net/;TestCase/a/li +lia href=http://stxx.sourceforge.net;Stxx/a (XLST)/li +lia href=http://www.livinglogic.de/Struts/;Workflow/a/li +lia href=http://struts.sf.net;Cocoon Plugin/a/li +lia href=http://struts.sf.net;Scriptable Actions using BSF/a (Bean Scripting +Framework)/li +/ul /li /ul /li 1.32 +1 -1 jakarta-struts/doc/volunteers.xml Index: volunteers.xml === RCS file: /home/cvs/jakarta-struts/doc/volunteers.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- volunteers.xml29 Aug 2003 16:50:08 - 1.31 +++ volunteers.xml29 Aug 2003 22:13:16 - 1.32 @@ -12,7 +12,7 @@ section name=Community Support href=support p -In June 2003, there were nearly 2800 subscribers to STRUTS-USER. +In August 2003, there were 2700 subscribers to STRUTS-USER (including the digest version). It's the largest user mailing list at Jakarta, exceeding the TOMCAT-USER list of about 2400 subscribers. In addition to the regular subscribers, an unknown number of developers read the lists through newsfeed mirrors and through several list archives. 1.9 +4 -4 jakarta-struts/doc/faqs/kickstart.xml Index: kickstart.xml === RCS file: /home/cvs/jakarta-struts/doc/faqs/kickstart.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- kickstart.xml 26 Jul 2003 03:56:25 - 1.8 +++ kickstart.xml 29 Aug 2003 22:13:16 - 1.9 @@ -40,7 +40,7 @@ lia href=#turbineWhat's the difference between Struts and Turbine? What's the difference between Struts and Expresso?/a/li lia href=#taglibsWhy aren't the Struts tags maintained as part of the Jakarta Taglibs project?/a/li lia href=#xhtmlAre the Struts tags XHTML compliant?/a/li -lia href=#jsfWhat about the JSTL and JavaServer Faces?/a/li +lia href=#jsfWhat about JSTL and JavaServer Faces?/a/li lia href=#ideIs
cvs commit: jakarta-struts/doc/userGuide index.xml
husted 2003/07/04 10:38:59 Modified:doc/userGuide index.xml Log: Various changes to bring the site into the Struts 1.1++ era. Revision ChangesPath 1.35 +0 -6 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- index.xml 29 Jun 2003 05:58:56 - 1.34 +++ index.xml 4 Jul 2003 17:38:59 - 1.35 @@ -165,12 +165,6 @@ lia href=release-notes-1.1-b3.htmlRelease Notes 1.1-b3/a/li lia href=release-notes-1.1-b2.htmlRelease Notes 1.1-b2/a/li lia href=release-notes-1.1-b1.htmlRelease Notes 1.1-b1/a/li -lia href=release-notes-1.0.2.htmlRelease Notes 1.0.2/a/li -lia href=release-notes-1.0.1.htmlRelease Notes 1.0.1/a/li -lia href=release-notes-1.0.htmlRelease Notes 1.0/a/li -lia href=release-notes-1.0-b3.htmlRelease Notes 1.0-b3/a/li -lia href=release-notes-1.0-b2.htmlRelease Notes 1.0-b2/a/li -lia href=release-notes-1.0-b1.htmlRelease Notes 1.0-b1/a/li /ul lia href=installation.html6.2 Installation/a/li ul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml
martinc 2003/06/28 22:58:56 Modified:doc/userGuide index.xml Log: Add a link for the 1.1 release notes (and one for the 1.1-rc2 release notes, for completeness). Revision ChangesPath 1.34 +2 -0 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- index.xml 20 Feb 2003 06:30:44 - 1.33 +++ index.xml 29 Jun 2003 05:58:56 - 1.34 @@ -159,6 +159,8 @@ ul lia href=release-notes.html6.1 Release Notes/a/li ul +lia href=release-notes-1.1.htmlRelease Notes 1.1/a/li +lia href=release-notes-1.1-rc2.htmlRelease Notes 1.1-rc2/a/li lia href=release-notes-1.1-rc1.htmlRelease Notes 1.1-rc1/a/li lia href=release-notes-1.1-b3.htmlRelease Notes 1.1-b3/a/li lia href=release-notes-1.1-b2.htmlRelease Notes 1.1-b2/a/li - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml
martinc 2003/02/19 22:30:44 Modified:doc status.xml doc/news index.xml status.xml doc/userGuide index.xml Log: Updates to announce Struts 1.1 Release Candidate 1. IMPORTANT: Please do not update the web site with this or later content until you see the official announcement message for the Struts 1.1 RC1 release. I'm updating these pages now so that they are included in the RC1 struts-documentation.war web app, but I have not finished testing the release itself. Revision ChangesPath 1.28 +4 -4 jakarta-struts/doc/status.xml Index: status.xml === RCS file: /home/cvs/jakarta-struts/doc/status.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- status.xml15 Feb 2003 13:53:53 - 1.27 +++ status.xml20 Feb 2003 06:30:43 - 1.28 @@ -68,8 +68,8 @@ /p p -a href=proposals/release-plan-1.1b3.htmlStruts 1.1 beta 3/a is in circulation -and we are working toward a release candidate. +a href=proposals/release-plan-1.1rc1.htmlStruts 1.1 Release Candidate 1/a +is in circulation and we are working toward a final release. /p /section @@ -234,7 +234,7 @@ ul li -a href=proposals/release-plan-1.1b3.htmlRelease Plan 1.1-b3/a +a href=proposals/release-plan-1.1rc1.htmlRelease Plan 1.1-rc1/a /li li 1.19 +41 -1 jakarta-struts/doc/news/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/news/index.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- index.xml 19 Feb 2003 00:26:49 - 1.18 +++ index.xml 20 Feb 2003 06:30:44 - 1.19 @@ -14,7 +14,7 @@ /p p -a href=http://www.apache.org/dist/jakarta/struts/;Struts 1.1/a is in its third bbeta release/b (30 December 2002). +a href=http://www.apache.org/dist/jakarta/struts/;Struts 1.1/a is in its first brelease candidate/b build (20 February 2003). /p hr size=1 noshade=/ @@ -111,6 +111,46 @@ /p hr size=1 noshade=/ -- + +h3a name=20030220/a20 Feb 2003 - Struts 1.1 Release Candidate 1 Released/h3 +p +The Struts team is proud to announce the release of Struts 1.1 Release +Candidate 1. This release includes some new functionality, as well as +fixes for a number of bugs which were reported against earlier versions. +The Struts Team believes that this release is ready for prime time, hence +its designation as a release candidate. +/p +p +The binary distribution is available at: +/p +p +a href=http://www.apache.org/dist/jakarta/struts/binaries/; +http://www.apache.org/dist/jakarta/struts/binaries//a +/p +p +and the source distribution is available at: +/p +p +a href=http://www.apache.org/dist/jakarta/struts/source/; +http://www.apache.org/dist/jakarta/struts/source//a +/p +p +In addition, the library distribution, which contains updated binaries +without the sample applications, is available at: +/p +p +a href=http://www.apache.org/dist/jakarta/struts/library/; +http://www.apache.org/dist/jakarta/struts/library//a +/p +p +Details of the changes in this release are available in the Release +Notes, which can be found here: +/p +p +a href=http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html; +http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html/a +/p +hr size=1 noshade=/ h3a name=20030217/a17 Feb 2003 - Struts talk .. amp; labs live online w/ 4 Authors/h3 p 1.3 +1 -1 jakarta-struts/doc/news/status.xml Index: status.xml === RCS file: /home/cvs/jakarta-struts/doc/news/status.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- status.xml31 Dec 2002 03:12:11 - 1.2 +++ status.xml20 Feb 2003 06:30:44 - 1.3 @@ -15,7 +15,7 @@ /p p -a href=http://jakarta.apache.org/builds/jakarta-struts/release/v1.1-b3/;Struts 1.1b/a is in its third bbeta release/b (30 December 2002). +a href=http://www.apache.org/dist/jakarta/struts/;Struts 1.1/a is in its first brelease candidate/b build (20 February 2003). /p hr size=1 noshade=/ 1.33 +1 -0 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file:
cvs commit: jakarta-struts/doc/userGuide index.xml
husted 2003/02/15 04:46:03 Modified:doc/userGuide index.xml Log: + Add link to Design Guidelines section. Revision ChangesPath 1.32 +3 -0 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- index.xml 19 Jan 2003 00:40:41 - 1.31 +++ index.xml 15 Feb 2003 12:46:02 - 1.32 @@ -113,6 +113,9 @@ lia href=building_controller.html#map_action_form_classes4.3.2 Map-backed ActionForm Classes/a/li /ul lia href=building_controller.html#action_classes4.4 Action Classes/a/li +ul +lia href=building_controller.html#action_design_guide4.4.1 Action Class Design Guidelines/a/li +/ul lia href=building_controller.html#exception_handler4.5 Exception Handler/a/li lia href=building_controller.html#plugin_classes4.6 Plugin Classes/a/li lia href=building_controller.html#actionmapping4.7 The ActionMapping Implementation/a/li - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml building_view.xml
husted 2002/12/28 14:28:27 Modified:doc/userGuide index.xml building_view.xml Log: Move 3.3.1 into Howto as Building an ActionForm. Move 3.3.6 up as 3.3.1. Revision ChangesPath 1.25 +1 -2 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- index.xml 27 Dec 2002 02:38:43 - 1.24 +++ index.xml 28 Dec 2002 22:28:27 - 1.25 @@ -82,12 +82,11 @@ lia href=building_view.html#i18n3.2 Internationalization/a/li lia href=building_view.html#form_beans3.3 Forms and FormBean Interactions/a ul -lia href=building_view.html#forms3.3.1 Building Forms With Struts/a/li +lia href=building_view.html#indexed3.3.1 Indexed amp; Mapped Properties/a/li lia href=building_view.html#form_input3.3.2 Input Field Types Supported/a/li lia href=building_view.html#presentation_tags3.3.3 Other Useful Presentation Tags/a/li lia href=building_view.html#form_validation3.3.4 Automatic Form Validation/a/li lia href=building_view.html#struts_validator3.3.5 Struts Validator/a/li -lia href=building_view.html#indexed3.3.6 Indexed amp; Mapped Properties/a/li /ul/li lia href=building_view.html#other_presentations3.4 Other Presentation Techniques/a ul 1.25 +27 -282 jakarta-struts/doc/userGuide/building_view.xml Index: building_view.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_view.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- building_view.xml 28 Dec 2002 21:53:15 - 1.24 +++ building_view.xml 28 Dec 2002 22:28:27 - 1.25 @@ -272,276 +272,39 @@ handle the incoming files. Struts handles these multipart forms in a way identical to building normal forms. -In the next section, we will cover using Struts to create a simple login -form, and also a simple mulitpart form. /p - -/section - -section name=3.3.1 Building Forms With Struts href=forms - -p -A complete example of a login form will illustrate how Struts -makes dealing with forms much less painful than using straight HTML -and standard JSP facilities. -Consider the following page (based on the example application included -with Struts) named codelogon.jsp/code: -/p - -hr/ - -precode![CDATA[ -%@ page language=java % -%@ taglib -uri=/WEB-INF/struts-html.tld -prefix=html % -%@ -taglib uri=/WEB-INF/struts-bean.tld -prefix=bean % -html:html -head -title -bean:message key=logon.title/ -/title -/head -body bgcolor=white -html:errors/ -html:form action=/logon focus=username -table border=0 width=100% -tr -th align=right -bean:message key=prompt.username/ -/th -td align=left -html:text -property=username -size=16/ -/td -/tr -tr -th align=right -bean:message key=prompt.password/ -/th -td align=left -html:password -property=password -size=16/ -/td -/tr -tr -td align=right -html:submit -bean:message key=button.submit/ -/html:submit -/td -td align=right -html:reset -bean:message key=button.reset/ -/html:reset -/td -/tr -/table -/html:form -/body -/html:html -]]/code/pre - -hr/ - -p -The following items illustrate the key features of form handling in Struts, -based on this example: -/p - -ul - -li -The codetaglib/code directive tells the JSP page compiler where to -find the itag library descriptor/i for the Struts tag library. -In this case, we are using codebean/code as the prefix that -identifies tags from the struts-bean library, and html as the prefix -that identifies tags from the struts-html library. -Any desired prefix can be used. -/li - -li -This page uses several occurrences of the -bmessage/b tag to look up internationalized -message strings from a codeMessageResources/code object containing -all the resources for this application. -For this page to work, the following message keys must be defined in -these resources: - -ul - -li -blogon.title/b - Title of the logon page -/li - -li -bprompt.username/b - A Username: prompt string -
cvs commit: jakarta-struts/doc/userGuide index.xml
husted 2002/12/26 18:38:43 Modified:doc/userGuide index.xml Log: Update index with current section numbers. Revision ChangesPath 1.24 +4 -2 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- index.xml 24 Dec 2002 01:50:07 - 1.23 +++ index.xml 27 Dec 2002 02:38:43 - 1.24 @@ -170,8 +170,10 @@ lia href=configuration.html#resources_config7.2.2 Message Resources Configuration/a/li lia href=configuration.html#PlugIn_config7.2.3 PlugIn Configuration/a/li lia href=configuration.html#data-source_config7.2.4 Data Source Configuration/a/li -lia href=configuration.html#dd_config_modules7.2.5 Configuring your application for modules/a/li -lia href=configuration.html#module_config-switching7.2.6 Switching Modules/a/li +lia href=configuration.html#dd_config_modules7.3 Configuring your application for modules/a/li +lia href=configuration.html#module_config-switching7.3.3 Switching Modules/a/li +lia href=configuration.html#dd_config7.4 The Web Application Deployment Descriptor/a/li +lia href=configuration.html#config_add7.5 Add Struts Components To Your Application/a/li /ul /li li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml
dgraham 2002/12/20 18:37:10 Modified:doc/userGuide index.xml Log: Fixed link for PR # 15490. Revision ChangesPath 1.22 +2 -2 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- index.xml 8 Dec 2002 00:22:56 - 1.21 +++ index.xml 21 Dec 2002 02:37:10 - 1.22 @@ -105,7 +105,7 @@ lia href=building_controller.html#overview4.1 Overview/a/li lia href=building_controller.html#action_servlet4.2 The ActionServlet/a/li ul -lia href=building_controller.html#request_controller4.2.1 Request Processor/a/li +lia href=building_controller.html#request_processor4.2.1 Request Processor/a/li /ul lia href=building_controller.html#action_form_classes4.3 ActionForm Classes/a/li @@ -117,7 +117,7 @@ lia href=building_controller.html#exception_handler4.5 Exception Handler/a/li lia href=building_controller.html#plugin_classes4.6 Plugin Classes/a/li lia href=building_controller.html#actionmapping4.7 The ActionMapping Implementation/a/li -lia href=building_controller.html#config4.8 Writing ActionMappings/a\ +lia href=building_controller.html#config4.8 Writing ActionMappings/a ul lia href=building_controller.html#action_mapping_example4.8.1 ActionMapping Example/a/li /ul -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml
dmkarr 2002/11/24 15:38:46 Modified:doc/userGuide index.xml Log: Adding outline entry for the Struts-EL section, which I forgot to add when I added the text to building_view.xml. Revision ChangesPath 1.18 +2 -0 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- index.xml 11 Oct 2002 22:00:23 - 1.17 +++ index.xml 24 Nov 2002 23:38:46 - 1.18 @@ -95,6 +95,8 @@ lia href=building_view.html#includes3.4.3 Page Composition With Tiles/a/li lia href=building_view.html#image_rendering3.4.4 Image Rendering Components/a/li lia href=building_view.html#text_rendering3.4.5 Rendering Text/a/li +lia href=building_view.html#struts-el3.4.6 The +Struts-EL Tag Library/a/li /ul/li /ul/li lia href=building_controller.html4. Building Controller Components/a -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide index.xml building_controller.xml
husted 2002/10/11 15:00:23 Modified:doc/userGuide index.xml building_controller.xml Log: New 1.1 sections contributed by Donald Ball. Revision ChangesPath 1.17 +1 -0 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- index.xml 10 Oct 2002 03:42:44 - 1.16 +++ index.xml 11 Oct 2002 22:00:23 - 1.17 @@ -26,6 +26,7 @@ authorRobert Leland/author authorStanley Santiago/author authorWong Kok Kai/author +authorDonald Ball/author authorDan Walker/author authorEddie Bush/author authorYann Cebron /author 1.30 +88 -5 jakarta-struts/doc/userGuide/building_controller.xml Index: building_controller.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- building_controller.xml 11 Oct 2002 21:48:15 - 1.29 +++ building_controller.xml 11 Oct 2002 22:00:23 - 1.30 @@ -7,6 +7,7 @@ authorTed Husted/author authorMartin Cooper/author authorEd Burns/author +authorDonald Ball/author authorEddie Bush/author authorYann Cebron /author authorDavid Graham/author @@ -93,12 +94,94 @@ /section section name=4.2.1 DynaActionForm Classes href=dyna_action_form_classes - p[:TODO:]/p - /section - section name=4.2.2 Map-backed ActionForms href=map_action_form_classes - p[:TODO:]/p - /section + pMaintaining a separate concrete ActionForm class for each form in your struts application is time-consuming. This can be alleviated through the use of DynaActionForm classes. Instead of creating a new ActionForm subclass and new get/set methods for each of your bean's properties, you can list its properties, type, and defaults in the struts configuration file./p + pFor example, add the following to struts-config.xml for a UserForm bean that stores a user's given and family names:/p +pre +![CDATA[ +form-bean name=UserForm type=org.apache.struts.action.DynaActionForm + form-property name=givenName type=java.lang.String initial=John/ + form-property name=familyName type=java.lang.String initial=Smith/ +/form-bean +]] +/pre + pThe list of types supported by DynaActionForm beans includes:/p + ul +lijava.lang.BigDecimal/li +lijava.lang.BigInteger/li +liboolean and java.lang.Boolean/li +libyte and java.lang.Byte/li +lichar and java.lang.Character/li +lijava.lang.Class/li +lidouble and java.lang.Double/li +lifloat and java.lang.Float/li +liint and java.lang.Integer/li +lilong and java.lang.Long/li +lishort and java.lang.Short/li +lijava.lang.String/li +lijava.sql.Date/li +lijava.sql.Time/li +lijava.sql.Timestamp/li + /ul + pIf you do not supply an initial attribute, numbers will be initialized to 0 and objects to null./p + /section + +section name=4.2.2 Map-backed ActionForms href=map_action_form_classes + pThe DynaActionForm classes offer the ability to create ActionForm beans at initialization time, based on a list of properties enumerated in the struts configuration file. However, many HTML forms are generated dynamically at request time. Since the properties of these forms' ActionForm beans are not all known ahead of time, we need a new approach./p + pStruts allows you to make one or more of your ActionForm's properties' values a Map instead of a traditional atomic object. You can then store the data from your form's dynamic fields in that Map. Here is an example of a map-backed ActionForm class:/p +pre +![CDATA[ +public FooForm extends ActionForm { + +private final Map values = new HashMap(); + +public void setValue(String key, Object value) { +values.put(key, value); +} + +public Object getValue(String key) { +return values.get(key); +} + +} +]] +/pre + pIn its corresponding JSP page, you can access objects stored in the values map using a special notation: imapname(keyname)/i. The parentheses in the bean property name indicate that the bean property named imapname/i is indexed using Strings (probably backed by a Map) and that struts should look for get/set methods that take a String key parameter to find the correct sub-property value. Struts will, of course, use the ikeyname/i value from the parentheses when it calls the get/set methods./p + pHere is a
cvs commit: jakarta-struts/doc/userGuide index.xml preface.xml
craigmcc2002/07/27 19:25:58 Modified:doc/userGuide index.xml preface.xml Log: Check in a bunch more pointers to further information, and start filling out the sections on servlet topics. Revision ChangesPath 1.13 +10 -8 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- index.xml 5 Jul 2002 15:55:48 - 1.12 +++ index.xml 28 Jul 2002 02:25:58 - 1.13 @@ -18,14 +18,16 @@ ul lia href=preface.html0. Preface/a ul - lia href=preface.html#httpHTTP, HTML, and User Agents/a/li - lia href=preface.html#cycleThe HTTP Request/Response Cycle/a/li - lia href=preface.html#javaThe Java Language and Application Frameworks/a/li - lia href=preface.html#javabeansJavaBeans/a/li - lia href=preface.html#resourcesProperties files and ResourceBundles/a/li - lia href=preface.html#servletsJava Servlets/a/li - lia href=preface.html#jspJavaServer Pages and JSP Tag Libraries/a/li - lia href=preface.html#xmlExtensible Markup Language/a/li + lia href=preface.html#suspects0.1 The Usual Suspects/a/li + lia href=preface.html#http0.2 HTTP, HTML, and User Agents/a/li + lia href=preface.html#cycle0.3 The HTTP Request/Response Cycle/a/li + lia href=preface.html#java0.4 The Java Language and Application Frameworks/a/li + lia href=preface.html#javabeans0.5 JavaBeans/a/li + lia href=preface.html#resources0.6 Properties Files and ResourceBundles/a/li + lia href=preface.html#servlets0.7 Java Servlets/a/li + lia href=preface.html#jsp0.8 JavaServer Pages and JSP Tag Libraries/a/li + lia href=preface.html#xml0.9 Extensible Markup Language/a/li + lia href=preface.html#jaas0.10 JAAS/a/li /ul/li 1.6 +327 -32 jakarta-struts/doc/userGuide/preface.xml Index: preface.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/preface.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- preface.xml 12 Jul 2002 03:59:32 - 1.5 +++ preface.xml 28 Jul 2002 02:25:58 - 1.6 @@ -11,7 +11,7 @@ chapter name=0. Preface: Core Technologies - section name=0.1 The Usual Suspects href=prereqs + section name=0.1 The Usual Suspects href=suspects p This User Guide is written for active web developers and assumes a working @@ -24,7 +24,7 @@ lia href=#cycleThe HTTP Request/Response Cycle/a/li lia href=#javaThe Java Language and Application Frameworks/a/li lia href=#javabeansJavaBeans/a/li - lia href=#resourcesProperties files and ResourceBundles/a/li + lia href=#resourcesProperties Files and ResourceBundles/a/li lia href=#servletsJava Servlets/a/li lia href=#jspJavaServer Pages and JSP Tag Libraries/a/li lia href=#xmlExtensible Markup Language/a/li @@ -72,6 +72,12 @@ lia href=http://www.w3.org/MarkUp/Guide/;bGetting started with HTML/b/a by Dave Raggett/li lia href=http://java.sun.com/webservices/docs/1.0/tutorial/doc/HTTP.html#63796; bHTTP Overview/b/a in the Java Web Services Tutorial./li +lia href=http://www.rfc-editor.org/rfc/rfc2616.txt;strongHTTP/1.1 +/strong/a Specification/li +lia href=http://www.rfc-editor.org/rfc/rfc2617.txt;strongHTTP +Basic and Digest Authentication/strong/a Specification/li +lia href=http://www.rfc-editor.org/rfc/rfc2109.txt;strongState +Management Mechanism/strong/a Specification (Cookies)/li /ul /section @@ -94,14 +100,20 @@ pStruts is written in the popular and versatile a href=http://java.sun.com/docs/books/jls/first_edition/html/index.html;Java programming language/a. -Java is an object-orientated language, and Struts makes good use of many object-orientated techniques. -A good understanding of Java, and especially object-orientated programming (OOP) will help +Java is an object-orientated language, and Struts makes good use of many +object-orientated techniques. In addition, Java natively supports the +concept of emthreads/em, which allows more than one task to be +performed at the same time. A good understanding of Java, and especially +object-orientated programming (OOP) and threading, will help you get the most out of Struts and this User Guide. /p -pFor more about Java and
cvs commit: jakarta-struts/doc/userGuide index.xml building_controller.xml
husted 2002/06/29 07:40:27 Modified:doc/userGuide index.xml building_controller.xml Log: Add TODO for Plugin Classes. Revision ChangesPath 1.11 +1 -1 jakarta-struts/doc/userGuide/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/index.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- index.xml 29 Jun 2002 14:12:01 - 1.10 +++ index.xml 29 Jun 2002 14:40:27 - 1.11 @@ -75,7 +75,7 @@ lia href=building_controller.html#dyna_action_form_classes4.2.1 DynaActionForm Classes/a/li lia href=building_controller.html#map_action_form_classes4.2.2 Map-backed ActionForm Classes/a/li lia href=building_controller.html#action_classes4.3 Action Classes/a/li -lia href=building_controller.html#plugin_classes4.3.x Plugin Classes/a/li +lia href=building_controller.html#plugin_classes4.3.1 Plugin Classes/a/li lia href=building_controller.html#action_servlet4.4 The ActionServlet/a/li lia href=building_controller.html#request_controller4.4.1 Request Processor/a/li lia href=building_controller.html#exception_handler4.4.2 Exception Handler/a/li 1.20 +4 -0 jakarta-struts/doc/userGuide/building_controller.xml Index: building_controller.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- building_controller.xml 29 Jun 2002 14:12:01 - 1.19 +++ building_controller.xml 29 Jun 2002 14:40:27 - 1.20 @@ -228,6 +228,10 @@ /p /section +section name=4.3.1 Plugin Classes href=plugin_classes +p[:TODO:]/p +/section + section name=4.4 The ActionServlet href=action_servlet p[:TODO:]/p /section -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]