struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts-site] branch master updated: Adds small twaeks
Date Thu, 05 Oct 2017 06:50:21 GMT
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 <lukasz.lenart@gmail.com>
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
 <result name="success" type="dispatcher">
   <param name="location">foo.jsp</param>
 </result>

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Mime
View raw message