[struts-site] branch master updated: Fixes link to Plugins registry
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new 7f1368c Fixes link to Plugins registry 7f1368c is described below commit 7f1368cd01d52bed522be88fbe5a09e6832e505f Author: Lukasz Lenart AuthorDate: Wed Oct 4 14:33:47 2017 +0200 Fixes link to Plugins registry --- source/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/index.md b/source/plugins/index.md index 5a8bb05..d9f13fb 100644 --- a/source/plugins/index.md +++ b/source/plugins/index.md @@ -16,4 +16,4 @@ Several plugins are bundled with the framework, and others are available from th |[Bean Validation Plugin](bean-validation) (2.5+)[CDI (JSR 299) Plugin](cdi) (2.3.1+)[Codebehind Plugin](codebehind) (< 2.5)[Config Browser Plugin](config-browser)[Convention Plugin](convention) (2.1.3+)[DWR Plugin](dwr)[Embedded JSP Plugin](embedded-jsp) (2.1.7+)[JasperReports Plugin](jasperreports)[Java 8 Support Plugin](java-8-support) (2.3.21 - 2.5.2)[Javatemplates Plugin](javatemplates) (2.1.3+)[JFreeChart Plugin](jfreechart)[JSF Plugin](j [...] -> For a complete list of bundled and third-party plugins, visit the [Plugin Registry](http://cwiki.apache.org/S2PLUGINS/home.html). +> For a complete list of bundled and third-party plugins, visit the [Plugin Registry](http://cwiki.apache.org/S2PLUGINS/Home). -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new b351e4a Updates production by Jenkins b351e4a is described below commit b351e4a4838e0d192e2bc5d5c9bc9689fc16c02f Author: jenkins AuthorDate: Wed Oct 4 12:35:28 2017 + Updates production by Jenkins --- content/plugins/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/plugins/index.html b/content/plugins/index.html index de182a6..bfc712d 100644 --- a/content/plugins/index.html +++ b/content/plugins/index.html @@ -150,7 +150,7 @@ Several plugins are bundled with the framework, and others are available from th - For a complete list of bundled and third-party plugins, visit the http://cwiki.apache.org/S2PLUGINS/home.html";>Plugin Registry. + For a complete list of bundled and third-party plugins, visit the http://cwiki.apache.org/S2PLUGINS/Home";>Plugin Registry. -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch master updated: fix more result pages
This is an automated email from the ASF dual-hosted git repository. amashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new cb4690f fix more result pages cb4690f is described below commit cb4690ffa36814ac3096ceb9cf7d0478c4bf1e56 Author: Aleksandr Mashchenko AuthorDate: Wed Oct 4 22:58:31 2017 +0300 fix more result pages --- source/core-developers/httpheader-result.md | 2 +- source/core-developers/redirect-action-result.md | 103 +++--- source/core-developers/redirect-result.md| 32 --- source/core-developers/stream-result.md | 106 +-- 4 files changed, 111 insertions(+), 132 deletions(-) diff --git a/source/core-developers/httpheader-result.md b/source/core-developers/httpheader-result.md index 63c52e7..0fda09d 100644 --- a/source/core-developers/httpheader-result.md +++ b/source/core-developers/httpheader-result.md @@ -12,7 +12,7 @@ A custom Result type for setting HTTP headers and status by optionally evaluatin - `status` - the http servlet response status code that should be set on a response. -- `parse` - true by default. If set to false, the headers param will not be parsed for Ognl expressions. +- `parse` - true by default. If set to false, the headers param will not be parsed for OGNL expressions. - `headers` - header values. diff --git a/source/core-developers/redirect-action-result.md b/source/core-developers/redirect-action-result.md index d661b3a..b951575 100644 --- a/source/core-developers/redirect-action-result.md +++ b/source/core-developers/redirect-action-result.md @@ -5,47 +5,84 @@ title: Redirect Action Result # Redirect Action Result +This result uses the `ActionMapper` provided by the `ActionMapperFactory` to redirect the browser to a URL that invokes the specified action and (optional) namespace. This is better than the `ServletRedirectResult` because it does not require you to encode the URL patterns processed by the `ActionMapper` in to your struts.xml configuration files. This means you can change your URL patterns at any point and your application will still work. It is strongly recommended that if you are redir [...] - -{% snippet id=description|javadoc=true|url=org.apache.struts2.result.ServletActionRedirectResult %} - +See examples below for an example of how request parameters could be passed in. See [ActionMapper](action-mapper.html) for more details -| - -Parameters - - - -{% snippet id=params|javadoc=true|url=org.apache.struts2.result.ServletActionRedirectResult %} - -Examples - - -{% snippet id=example|lang=xml|javadoc=true|url=org.apache.struts2.result.ServletActionRedirectResult %} - - - -~~~ +### Parameters + +- `actionName` (default) - The name of the action that will be redirected to. +- `namespace` - Used to determine which namespace the action is in that we're redirecting to. If namespace is null, the default will be the current namespace. +- `suppressEmptyParameters` - Optional boolean (defaults to false) that can prevent parameters with no values from being included in the redirect URL. +- `parse` - Boolean, true by default. If set to false, the actionName param will not be parsed for OGNL expressions. +- `anchor` - Optional. Also known as "fragment" or colloquially as "hash". You can specify an anchor for a result. + +### Examples + +``` + + + + +dashboard +/secure + + + + + +<-- Redirect to an action in the same namespace --> + +dashboard.jsp +error + + + +error.jsp + + + + + + + + + generateReport + /genReport + pie + 100 + 100 + + true + summary + + + +``` + +``` - + - /jsp/displayReport.jsp +/jsp/displayReport.jsp - + - /jsp/index.jsp - - displayReport - false - SUMMARY - +/jsp/index.jsp + +displayReport +false +SUMMARY + - -~~~ +``` diff --git a/source/core-developers/redirect-result.md b/source/core-developers/redirect-result.md index b79469d..9461e8e 100644 --- a/source/core-developers/redirect-result.md +++ b/source/core-developers/redirect-result.md @@ -5,25 +5,34 @@ title: Redirect Result # Redirect Result +Calls the `{@link HttpServletResponse#sendRedirect(String) sendRedirect}` method to the location specified. The response is told to redirect the browser to the specified location (a new request from the client). The consequence of doing this means that the action (action instance, action errors, field errors, etc) that was just executed is lost and no longer available. This is because actions are built on a single-thread model. The
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new 02faa0d Updates production by Jenkins 02faa0d is described below commit 02faa0d46095cdc2125db8226d9478e9786e4895 Author: jenkins AuthorDate: Wed Oct 4 20:00:52 2017 + Updates production by Jenkins --- content/core-developers/httpheader-result.html | 2 +- .../core-developers/redirect-action-result.html| 166 + content/core-developers/redirect-result.html | 71 - content/core-developers/stream-result.html | 128 ++-- 4 files changed, 113 insertions(+), 254 deletions(-) diff --git a/content/core-developers/httpheader-result.html b/content/core-developers/httpheader-result.html index efdae21..4af20b0 100644 --- a/content/core-developers/httpheader-result.html +++ b/content/core-developers/httpheader-result.html @@ -138,7 +138,7 @@ status - the http servlet response status code that should be set on a response. -parse - true by default. If set to false, the headers param will not be parsed for Ognl expressions. +parse - true by default. If set to false, the headers param will not be parsed for OGNL expressions. headers - header values. diff --git a/content/core-developers/redirect-action-result.html b/content/core-developers/redirect-action-result.html index 6604013..8cac819 100644 --- a/content/core-developers/redirect-action-result.html +++ b/content/core-developers/redirect-action-result.html @@ -129,118 +129,86 @@ https://github.com/apache/struts-site/edit/master/source/core-developers/redirect-action-result.md"; title="Edit this page on GitHub">Edit on GitHub Redirect Action Result - - This result uses the {@link ActionMapper} provided by the - ActionMapperFactory to redirect the browser to a URL that invokes the - specified action and (optional) namespace. This is better than the - {@link ServletRedirectResult} because it does not require you to encode the - URL patterns processed by the {@link ActionMapper} in to your struts.xml - configuration files. This means you can change your URL patterns at any point - and your application will still work. It is strongly recommended that if you - are redirecting to another action, you use this result rather than the - standard redirect result. - +This result uses the ActionMapper provided by the ActionMapperFactory to redirect the browser to a URL that invokes the specified action and (optional) namespace. This is better than the ServletRedirectResult because it does not require you to encode the URL patterns processed by the ActionMapper in to your struts.xml configuration [...] - - See examples below for an example of how request parameters could be passed - in. - +See examples below for an example of how request parameters could be passed in. See ActionMapper for more details - - - - - - - -Parameters - - - - actionName (default) - The name of the action that will be - redirected to. - namespace - Used to determine which namespace the action is in - that we're redirecting to. If namespace is null, the default will be the - current namespace. - suppressEmptyParameters - Optional boolean (defaults to false) that - can prevent parameters with no values from being included in the redirect - URL. - parse - Boolean, true by default. If set to false, the actionName - param will not be parsed for Ognl expressions. - anchor - Optional. Also known as "fragment" or colloquially as - "hash". You can specify an anchor for a result. - - - -Examples - -- - -- - -- dashboard - /secure - -- <-- Redirect to an action in the same namespace --> - - -- - -dashboard.jsp -error -- -error.jsp -- - - - -
[struts-site] 01/01: Merge pull request #24 from yasserzamani/founded_snippet_replace
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git commit 4c070c4eaa89e1119e15f94a5422620b6d654758 Merge: cb4690f fa0c116 Author: Lukasz Lenart AuthorDate: Thu Oct 5 08:25:14 2017 +0200 Merge pull request #24 from yasserzamani/founded_snippet_replace Removes founded snippets with fetched contents source/core-developers/action-mapper.md|67 +- source/core-developers/after-annotation.md |50 +- source/core-developers/alias-interceptor.md|49 +- .../annotation-workflow-interceptor.md |63 +- source/core-developers/basic-validation.md | 110 +- source/core-developers/before-annotation.md|49 +- source/core-developers/before-result-annotation.md |49 +- source/core-developers/checkbox-interceptor.md |12 +- source/core-developers/client-validation.md| 107 +- source/core-developers/conversion-annotation.md|60 +- .../conversion-error-field-validator-annotation.md |68 +- .../conversion-error-interceptor.md|61 +- source/core-developers/cookie-interceptor.md | 137 +- .../core-developers/cookie-provider-interceptor.md |38 +- .../core-developers/create-if-null-annotation.md |42 +- .../core-developers/create-session-interceptor.md |47 +- .../core-developers/custom-validator-annotation.md |67 +- .../date-range-field-validator-annotation.md | 105 +- source/core-developers/debugging-interceptor.md|42 +- .../default-workflow-interceptor.md| 114 +- .../double-range-field-validator-annotation.md | 120 +- source/core-developers/element-annotation.md |32 +- .../core-developers/email-validator-annotation.md |67 +- source/core-developers/exception-interceptor.md|75 +- .../execute-and-wait-interceptor.md| 136 +- .../expression-validator-annotation.md |61 +- .../field-expression-validator-annotation.md |69 +- source/core-developers/file-upload-interceptor.md | 138 +- source/core-developers/file-upload.md |12 +- source/core-developers/input-config-annotation.md |59 +- .../int-range-field-validator-annotation.md| 104 +- source/core-developers/key-annotation.md |43 +- source/core-developers/key-property-annotation.md |44 +- source/core-developers/logger-interceptor.md |40 +- .../parameter-filter-interceptor.md|46 +- source/core-developers/prepare-interceptor.md |83 +- .../pure-java-script-client-side-validation.md |13 +- .../regex-field-validator-annotation.md|73 +- .../required-field-validator-annotation.md |67 +- .../required-string-validator-annotation.md|73 +- source/core-developers/roles-interceptor.md|43 +- source/core-developers/scope-interceptor.md| 103 +- .../scoped-model-driven-interceptor.md |51 +- .../core-developers/servlet-config-interceptor.md |66 +- .../static-parameters-interceptor.md |44 +- .../string-length-field-validator-annotation.md| 101 +- source/core-developers/timer-interceptor.md|51 +- source/core-developers/token-interceptor.md|79 +- .../core-developers/token-session-interceptor.md |62 +- .../core-developers/type-conversion-annotation.md | 119 +- source/core-developers/using-field-validators.md | 204 +- .../core-developers/using-non-field-validators.md |77 +- .../using-visitor-field-validator.md |43 +- source/core-developers/validation-annotation.md|99 +- source/core-developers/validation-interceptor.md |95 +- .../validation-parameter-annotation.md |47 +- source/core-developers/validations-annotation.md | 127 +- .../visitor-field-validator-annotation.md |80 +- source/plugins/dwr/index.md|16 +- source/plugins/jasperreports/index.md |84 +- source/plugins/plugins.md | 311 +- source/plugins/sitegraph/index.md |52 +- source/plugins/struts-1/index.md |86 +- source/plugins/tiles/index.md |21 +- source/tag-developers/a-tag.md | 964 +- source/tag-developers/action-tag.md| 212 +- source/tag-developers/actionerror-tag.md | 763 +- source/tag-developers/actionmessage-tag.md | 761 +- source/tag-developers/ajax-common-header.md| 33763 ++- source/tag-developers/append-tag.md| 129 +- source/tag-developers/bean-tag.md | 118 +- source/tag-developers/checkbox-tag.md | 762 +-
[struts-site] branch master updated (cb4690f -> 4c070c4)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git. from cb4690f fix more result pages add fa0c116 Removes founded snippets with fetched contents new 4c070c4 Merge pull request #24 from yasserzamani/founded_snippet_replace The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: source/core-developers/action-mapper.md|67 +- source/core-developers/after-annotation.md |50 +- source/core-developers/alias-interceptor.md|49 +- .../annotation-workflow-interceptor.md |63 +- source/core-developers/basic-validation.md | 110 +- source/core-developers/before-annotation.md|49 +- source/core-developers/before-result-annotation.md |49 +- source/core-developers/checkbox-interceptor.md |12 +- source/core-developers/client-validation.md| 107 +- source/core-developers/conversion-annotation.md|60 +- .../conversion-error-field-validator-annotation.md |68 +- .../conversion-error-interceptor.md|61 +- source/core-developers/cookie-interceptor.md | 137 +- .../core-developers/cookie-provider-interceptor.md |38 +- .../core-developers/create-if-null-annotation.md |42 +- .../core-developers/create-session-interceptor.md |47 +- .../core-developers/custom-validator-annotation.md |67 +- .../date-range-field-validator-annotation.md | 105 +- source/core-developers/debugging-interceptor.md|42 +- .../default-workflow-interceptor.md| 114 +- .../double-range-field-validator-annotation.md | 120 +- source/core-developers/element-annotation.md |32 +- .../core-developers/email-validator-annotation.md |67 +- source/core-developers/exception-interceptor.md|75 +- .../execute-and-wait-interceptor.md| 136 +- .../expression-validator-annotation.md |61 +- .../field-expression-validator-annotation.md |69 +- source/core-developers/file-upload-interceptor.md | 138 +- source/core-developers/file-upload.md |12 +- source/core-developers/input-config-annotation.md |59 +- .../int-range-field-validator-annotation.md| 104 +- source/core-developers/key-annotation.md |43 +- source/core-developers/key-property-annotation.md |44 +- source/core-developers/logger-interceptor.md |40 +- .../parameter-filter-interceptor.md|46 +- source/core-developers/prepare-interceptor.md |83 +- .../pure-java-script-client-side-validation.md |13 +- .../regex-field-validator-annotation.md|73 +- .../required-field-validator-annotation.md |67 +- .../required-string-validator-annotation.md|73 +- source/core-developers/roles-interceptor.md|43 +- source/core-developers/scope-interceptor.md| 103 +- .../scoped-model-driven-interceptor.md |51 +- .../core-developers/servlet-config-interceptor.md |66 +- .../static-parameters-interceptor.md |44 +- .../string-length-field-validator-annotation.md| 101 +- source/core-developers/timer-interceptor.md|51 +- source/core-developers/token-interceptor.md|79 +- .../core-developers/token-session-interceptor.md |62 +- .../core-developers/type-conversion-annotation.md | 119 +- source/core-developers/using-field-validators.md | 204 +- .../core-developers/using-non-field-validators.md |77 +- .../using-visitor-field-validator.md |43 +- source/core-developers/validation-annotation.md|99 +- source/core-developers/validation-interceptor.md |95 +- .../validation-parameter-annotation.md |47 +- source/core-developers/validations-annotation.md | 127 +- .../visitor-field-validator-annotation.md |80 +- source/plugins/dwr/index.md|16 +- source/plugins/jasperreports/index.md |84 +- source/plugins/plugins.md | 311 +- source/plugins/sitegraph/index.md |52 +- source/plugins/struts-1/index.md |86 +- source/plugins/tiles/index.md |21 +- source/tag-developers/a-tag.md | 964 +- source/tag-developers/action-tag.md| 212 +- source/tag-developers/actionerror-tag.md | 763 +- source/tag-developers/actionmessage-tag.md | 761 +- source/tag-developers/ajax-common-header.md| 33763 ++- source/t
[struts-site] branch master updated: Adds small tweaks
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new c462cb2 Adds small tweaks c462cb2 is described below commit c462cb2954ecba0d3d1ad4459a821824a57a1436 Author: Lukasz Lenart AuthorDate: Thu Oct 5 08:49:27 2017 +0200 Adds small tweaks --- source/core-developers/chain-result.md | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/core-developers/chain-result.md b/source/core-developers/chain-result.md index 4eec90d..afe0608 100644 --- a/source/core-developers/chain-result.md +++ b/source/core-developers/chain-result.md @@ -10,16 +10,13 @@ This result invokes an entire other action, complete with it's own interceptor s ### Parameters - `actionName` (default) - the name of the action that will be chained to. - - `namespace` - used to determine which namespace the Action is in that we're chaining. If namespace is null, this defaults to the current namespace. - - `method` - used to specify another method on target action to be invoked. If null, this defaults to execute method. - - `skipActions` - (optional) the list of comma separated action names for the actions that could be chained to. ### Examples -``` +```xml -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new ba86219 Updates production by Jenkins ba86219 is described below commit ba8621924602ba1703a47e8cffe679f78715a345 Author: jenkins AuthorDate: Thu Oct 5 06:50:02 2017 + Updates production by Jenkins --- content/core-developers/chain-result.html | 52 +-- 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/content/core-developers/chain-result.html b/content/core-developers/chain-result.html index 0313204..8e5aad6 100644 --- a/content/core-developers/chain-result.html +++ b/content/core-developers/chain-result.html @@ -134,42 +134,34 @@ Parameters - -actionName (default) - the name of the action that will be chained to. - - -namespace - used to determine which namespace the Action is in that we’re chaining. If namespace is null, this defaults to the current namespace. - - -method - used to specify another method on target action to be invoked. If null, this defaults to execute method. - - -skipActions - (optional) the list of comma separated action names for the actions that could be chained to. - + actionName (default) - the name of the action that will be chained to. + namespace - used to determine which namespace the Action is in that we’re chaining. If namespace is null, this defaults to the current namespace. + method - used to specify another method on target action to be invoked. If null, this defaults to execute method. + skipActions - (optional) the list of comma separated action names for the actions that could be chained to. Examples -- - -- +login -+ + ++ -login +- - --dashboard -/secure - -+ + ++dashboard +/secure + +- +- -dashboard.jsp -+ -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].+ +dashboard.jsp +
[struts-site] branch master updated: Adds small twaeks
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new 38ac485 Adds small twaeks 38ac485 is described below commit 38ac4853dd3a0993ad8e144495bc6d713d1a027f Author: Lukasz Lenart AuthorDate: Thu Oct 5 08:50:20 2017 +0200 Adds small twaeks --- source/core-developers/dispatcher-result.md | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/core-developers/dispatcher-result.md b/source/core-developers/dispatcher-result.md index 371f768..67f05ad 100644 --- a/source/core-developers/dispatcher-result.md +++ b/source/core-developers/dispatcher-result.md @@ -10,20 +10,17 @@ Includes or forwards to a view (usually a jsp). Behind the scenes Struts will us There are three possible ways the result can be executed: - If we are in the scope of a JSP (a PageContext is available), PageContext's `{@link PageContext#include(String) include}` method is called. - - If there is no PageContext and we're not in any sort of include (there is no "javax.servlet.include.servlet_path" in the request attributes), then a call to `{@link RequestDispatcher#forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) forward}` is made. - - Otherwise, `{@link RequestDispatcher#include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) include}` is called. Parameters - `location` (default) - the location to go to after execution (ex. jsp). - - `parse` - true by default. If set to false, the location param will not be parsed for OGNL expressions. Examples -``` +```xml foo.jsp -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new 76585f8 Updates production by Jenkins 76585f8 is described below commit 76585f8a2a68bbf1d19c67d24fa161eed1a9e6ed Author: jenkins AuthorDate: Thu Oct 5 06:50:59 2017 + Updates production by Jenkins --- content/core-developers/dispatcher-result.html | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/content/core-developers/dispatcher-result.html b/content/core-developers/dispatcher-result.html index 1578cce..67a41cf 100644 --- a/content/core-developers/dispatcher-result.html +++ b/content/core-developers/dispatcher-result.html @@ -134,33 +134,23 @@ There are three possible ways the result can be executed: - -If we are in the scope of a JSP (a PageContext is available), PageContext’s {@link PageContext#include(String) include} method is called. - - -If there is no PageContext and we’re not in any sort of include (there is no “javax.servlet.include.servlet_path” in the request attributes), then a call to {@link RequestDispatcher#forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) forward - -Otherwise, {@link RequestDispatcher#include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) include} is called. - + If we are in the scope of a JSP (a PageContext is available), PageContext’s {@link PageContext#include(String) include} method is called. + If there is no PageContext and we’re not in any sort of include (there is no “javax.servlet.include.servlet_path” in the request attributes), then a call to {@link RequestDispatcher#forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) forwardOtherwise, {@link RequestDispatcher#include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) include} is called. Parameters - -location (default) - the location to go to after execution (ex. jsp). - - -parse - true by default. If set to false, the location param will not be parsed for OGNL expressions. - + location (default) - the location to go to after execution (ex. jsp). + parse - true by default. If set to false, the location param will not be parsed for OGNL expressions. Examples -- foo.jsp - ++ foo.jsp + -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].