You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ya...@apache.org on 2017/11/23 18:00:50 UTC
[struts-site] branch master updated: Replaces
([a-z]).\n\n~~~~~~~\n([^\n]+)\n~~~~~~~\n(\s[a-z]) with $1 `$2`$3
This is an automated email from the ASF dual-hosted git repository.
yasserzamani 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 c17f6f9 Replaces ([a-z]).\n\n~~~~~~~\n([^\n]+)\n~~~~~~~\n(\s[a-z]) with $1 `$2`$3
c17f6f9 is described below
commit c17f6f963afa2d9dce81990af6a67aeca53d1532
Author: Yasser Zamani <ya...@apache.org>
AuthorDate: Thu Nov 23 21:30:33 2017 +0330
Replaces ([a-z]).\n\n~~~~~~~\n([^\n]+)\n~~~~~~~\n(\s[a-z]) with $1 `$2`$3
---
.../configuration-provider-and-configuration.md | 19 ++-----------------
source/core-developers/file-upload.md | 14 ++------------
source/tag-developers/form-tags.md | 17 +----------------
3 files changed, 5 insertions(+), 45 deletions(-)
diff --git a/source/core-developers/configuration-provider-and-configuration.md b/source/core-developers/configuration-provider-and-configuration.md
index 7fddd29..6d79f90 100644
--- a/source/core-developers/configuration-provider-and-configuration.md
+++ b/source/core-developers/configuration-provider-and-configuration.md
@@ -46,17 +46,7 @@ XmlConfigurationProvider
~~~~~~~
StrutsXmlConfigurationProvider
~~~~~~~
- \- primary configuration provider, represents
-
-~~~~~~~
-struts.xml
-~~~~~~~
- and
-
-~~~~~~~
-struts-plugin.xml
-~~~~~~~
- files
+ \- primary configuration provider, represents `struts.xml` and `struts-plugin.xml` files
+
@@ -74,12 +64,7 @@ struts.properties
~~~~~~~
ServletContextAwareConfigurationProvider
~~~~~~~
- \- marking interface allowing to inject
-
-~~~~~~~
-ServletContext
-~~~~~~~
- into provider
+ \- marking interface allowing to inject `ServletContext` into provider
To inject your custom configuration provider use
diff --git a/source/core-developers/file-upload.md b/source/core-developers/file-upload.md
index 0ca04f9..c47c748 100644
--- a/source/core-developers/file-upload.md
+++ b/source/core-developers/file-upload.md
@@ -408,12 +408,7 @@ __Alternate Libraries__
The `struts.multipart.parser` used by the fileUpload interceptor to handle HTTP POST requests, encoded using the MIME\-type multipart/form\-data, can be changed out\. Currently there are two choices, jakarta and pell\. The jakarta parser is a standard part of the Struts 2 framework needing only its required libraries added to a project\. The pell parser uses Jason Pell's multipart parser instead of the Commons\-FileUpload library\. The pell parser is a Struts 2 plugin, for more details s [...]
-As from Struts version 2\.3\.18 a new implementation of
-
-~~~~~~~
-MultiPartRequest
-~~~~~~~
- was added \-
+As from Struts version 2\.3\.18 a new implementation of `MultiPartRequest` was added \-
~~~~~~~
JakartaStreamMultiPartRequest
@@ -461,11 +456,6 @@ struts.xml
<constant name="struts.multipart.enabled" value="false"/>
~~~~~~~
-With this constant in place, Struts will ignore a
-
-~~~~~~~
-Content-Type
-~~~~~~~
- header and will treat each request as an ordinary http request\. This option is available since Struts 2\.3\.11\.
+With this constant in place, Struts will ignore a `Content-Type` header and will treat each request as an ordinary http request\. This option is available since Struts 2\.3\.11\.
diff --git a/source/tag-developers/form-tags.md b/source/tag-developers/form-tags.md
index d328e00..221d70e 100644
--- a/source/tag-developers/form-tags.md
+++ b/source/tag-developers/form-tags.md
@@ -400,22 +400,7 @@ All form tags automatically assign an ID to the control, but the ID can be overr
__Form labelposition propagation__
-When
-
-~~~~~~~
-labelposition
-~~~~~~~
- attribute was defined for
-
-~~~~~~~
-<s:form>
-~~~~~~~
- tag it will be propagated to all form elements, but if form element defines its own
-
-~~~~~~~
-labelposition
-~~~~~~~
- it will take precedence over
+When `labelposition` attribute was defined for `<s:form>` tag it will be propagated to all form elements, but if form element defines its own `labelposition` it will take precedence over
~~~~~~~
<s:form>
--
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <co...@struts.apache.org>'].