(struts-examples) branch dependabot/maven/io.quarkus-quarkus-universe-bom-3.23.2 created (now e669574)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/io.quarkus-quarkus-universe-bom-3.23.2
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


  at e669574  Build(deps): Bump io.quarkus:quarkus-universe-bom from 3.21.2 
to 3.23.2

No new revisions were added by this update.



(struts-examples) branch dependabot/maven/org.eclipse.jetty.ee10-jetty-ee10-maven-plugin-12.0.22 created (now 15f9c17)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/org.eclipse.jetty.ee10-jetty-ee10-maven-plugin-12.0.22
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


  at 15f9c17  Build(deps): Bump 
org.eclipse.jetty.ee10:jetty-ee10-maven-plugin

No new revisions were added by this update.



(struts-examples) branch dependabot/maven/io.quarkus-quarkus-universe-bom-3.23.0 deleted (was c7197a8)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/io.quarkus-quarkus-universe-bom-3.23.0
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


 was c7197a8  Build(deps): Bump io.quarkus:quarkus-universe-bom from 3.21.2 
to 3.23.0

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts-examples) branch dependabot/maven/org.eclipse.jetty.ee10-jetty-ee10-maven-plugin-12.0.21 deleted (was 2d52a97)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/org.eclipse.jetty.ee10-jetty-ee10-maven-plugin-12.0.21
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


 was 2d52a97  Build(deps): Bump 
org.eclipse.jetty.ee10:jetty-ee10-maven-plugin

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts) branch dependabot/github_actions/github/codeql-action-3.28.19 created (now b3d601c60)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/github_actions/github/codeql-action-3.28.19
in repository https://gitbox.apache.org/repos/asf/struts.git


  at b3d601c60 Bump github/codeql-action from 3.28.17 to 3.28.19

No new revisions were added by this update.



(struts) branch dependabot/github_actions/github/codeql-action-3.28.18 deleted (was 2e55f1dae)

2025-06-08 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/github_actions/github/codeql-action-3.28.18
in repository https://gitbox.apache.org/repos/asf/struts.git


 was 2e55f1dae Bump github/codeql-action from 3.28.17 to 3.28.18

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts-site) 01/01: Updates docs around exception handling

2025-06-08 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch fix/exception-handling
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 0c83718a89b84927e0a6e33ce137be47623b8db3
Author: Lukasz Lenart 
AuthorDate: Sun Jun 8 18:38:47 2025 +0200

Updates docs around exception handling
---
 source/core-developers/exception-configuration.md | 22 +-
 source/getting-started/exception-handling.md  | 10 +-
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/source/core-developers/exception-configuration.md 
b/source/core-developers/exception-configuration.md
index 913284108..d22b1150e 100644
--- a/source/core-developers/exception-configuration.md
+++ b/source/core-developers/exception-configuration.md
@@ -7,6 +7,10 @@ parent:
 ---
 
 # Exception Configuration
+{:.no_toc}
+
+* Will be replaced with the ToC, excluding a header
+{:toc}
 
 Exception mappings is a powerful feature for dealing with an Action class that 
throws an Exception. The core idea is 
 that an Exception thrown during the Action method can be automatically caught 
and mapped to a predefined Result. This 
@@ -15,7 +19,7 @@ declarative strategy is especially useful for frameworks, 
like Hibernate and Ace
 As with many other parts of the framework, an Interceptor is needed to 
activate the exception mapping functionality. 
 Below is a snippet from `struts-default.xml` which has the exception mapping 
already activated.
 
-**snippet of struts-default.xml**
+### Snippet of struts-default.xml
 
 ```xml
 ...
@@ -65,7 +69,7 @@ by the Action.
 
 Below is an example of global and local exception mappings.
 
-**snippet from struts.xml**
+### Snippet from struts.xml
 
 ```xml
 
@@ -100,12 +104,12 @@ In the example above, here is what happens based upon 
each Exception:
 ## Exception Values on the ValueStack
 
 By default, the `ExceptionMappingInterceptor` adds the following values to the 
Value Stack:
+- `exception` the exception object
+- `exceptionStack` details of the exception
 
-| exception | The exception object itself |
-|---|-|
-| exceptionStack | The value from the stack trace |
+Please also check [Exception Handling](../getting-started/exception-handling) 
in the Getting Started guide. See 
[ExceptionHolder](https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/interceptor/ExceptionHolder.java)
 for more details.
 
-**Sample JSP using Error and Exception Values**
+### Sample JSP using Error and Exception Values
 
 ```jsp 
 An unexpected error has occurred
@@ -118,16 +122,16 @@ By default, the `ExceptionMappingInterceptor` adds the 
following values to the V
 Error Message
 
 
-
+
 
 
 Technical Details
 
-
+
 
 ```
 
 ## Exception in constructors
 
-Global exception mappings are designed to be used with exceptions thrown by 
action methods (like `execute`). exceptions 
+Global exception mappings are designed to be used with exceptions thrown by 
action methods (like `execute`). Exceptions 
 thrown from constructors will **not** be handled by global exception mappings.
diff --git a/source/getting-started/exception-handling.md 
b/source/getting-started/exception-handling.md
index a8b680d34..ea9a13cec 100644
--- a/source/getting-started/exception-handling.md
+++ b/source/getting-started/exception-handling.md
@@ -45,13 +45,13 @@ and `global-results`. For example examine the `struts.xml` 
from the exception-ha
 
 ```
 
-The global exception mapping node tells the Struts 2 framework what to do if 
an uncaught exception of the type specified 
-(or a child of that type) is thrown by the the application. For example if a 
SecurityBreachException is thrown but 
-not caught, the Struts 2 Action class will return a result of "securityerror". 
All other uncaught exceptions will cause 
+The global exception mapping node tells the Struts framework what to do if an 
uncaught exception of the type specified 
+(or a child of that type) is thrown by the application. For example if a 
SecurityBreachException is thrown but 
+not caught, the Struts 2 Action class will return a result of `securityerror`. 
All other uncaught exceptions will cause 
 the Struts 2 Action class to return a result of "error".
 
-The global results mapping node relates the result value to a specific view 
page. For example the result "securityerror"
-will cause the framework to redirect the user's browser to the 
securityerror.jsp view page.
+The global results mapping node relates the result value to a specific view 
page. For example the result `securityerror`
+will cause the framework to redirect the user's browser to the 
`securityerror.jsp` view page.
 
 ## Exception Handling Per Action
 



(struts-site) branch fix/exception-handling created (now 0c83718a8)

2025-06-08 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch fix/exception-handling
in repository https://gitbox.apache.org/repos/asf/struts-site.git


  at 0c83718a8 Updates docs around exception handling

This branch includes the following new commits:

 new 0c83718a8 Updates docs around exception handling

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.




(struts-site) branch asf-staging updated: Updates stage by Jenkins

2025-06-08 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
 new aadbe11c6 Updates stage by Jenkins
aadbe11c6 is described below

commit aadbe11c6ab68877e3cf528e6a7d97af2db84cde
Author: jenkins 
AuthorDate: Sun Jun 8 16:43:24 2025 +

Updates stage by Jenkins
---
 .../core-developers/exception-configuration.html   | 45 +++---
 content/getting-started/exception-handling.html| 10 ++---
 2 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/content/core-developers/exception-configuration.html 
b/content/core-developers/exception-configuration.html
index 2df1a73b4..730e812c6 100644
--- a/content/core-developers/exception-configuration.html
+++ b/content/core-developers/exception-configuration.html
@@ -151,7 +151,17 @@
 
 << back to Core 
Developers
 
-Exception Configuration
+Exception 
Configuration
+
+
+  Snippet of 
struts-default.xml
+  Snippet from struts.xml
+  Exception Values on the 
ValueStack
+  Sample JSP using 
Error and Exception Values
+
+  
+  Exception in constructors
+
 
 Exception mappings is a powerful feature for dealing with an Action class 
that throws an Exception. The core idea is 
 that an Exception thrown during the Action method can be automatically caught 
and mapped to a predefined Result. This 
@@ -160,7 +170,7 @@ declarative strategy is especially useful for frameworks, 
like Hibernate and Ace
 As with many other parts of the framework, an Interceptor is needed to 
activate the exception mapping functionality. 
 Below is a snippet from struts-default.xml which has the exception mapping 
already activated.
 
-snippet of struts-default.xml
+Snippet of struts-default.xml
 
 ...
 
@@ -211,7 +221,7 @@ action mapping, and if not found, it looks for a global 
Result.
 
 Below is an example of global and local exception mappings.
 
-snippet from struts.xml
+Snippet from struts.xml
 
 
 
@@ -247,23 +257,14 @@ action mapping, and if not found, it looks for a global 
Result.
 Exception Values on the 
ValueStack
 
 By default, the ExceptionMappingInterceptor adds the following values 
to the Value Stack:
+
+  exception the 
exception object
+  exceptionStack 
details of the exception
+
+
+Please also check Exception 
Handling in the Getting Started guide. See https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/interceptor/ExceptionHolder.java";>ExceptionHolder
 for more details.
 
-
-  
-
-  exception
-  The exception object itself
-
-  
-  
-
-  exceptionStack
-  The value from the stack trace
-
-  
-
-
-Sample JSP using Error and Exception Values
+Sample JSP using Error 
and Exception Values
 
 

An unexpected error has occurred

@@ -275,18 +276,18 @@ action mapping, and if not found, it looks for a global Result.

Error Message

- +


Technical Details

- +

Exception in constructors -Global exception mappings are designed to be used with exceptions thrown by action methods (like execute). exceptions +Global exception mappings are designed to be used with exceptions thrown by action methods (like execute). Exceptions thrown from constructors will not be handled by global exception mappings. diff --git a/content/getting-started/exception-handling.html b/content/getting-started/exception-handling.html index e679abe5c..1b44d4ffb 100644 --- a/content/getting-started/exception-handling.html +++ b/content/getting-started/exception-handling.html @@ -194,13 +194,13 @@ and global-results. Fo -The global exception mapping node tells the Struts 2 framework what to do if an uncaught exception of the type specified -(or a child of that type) is thrown by the the application. For example if a SecurityBreachException is thrown but -not caught, the Struts 2 Action class will return a result of “securityerror”. All other uncaught exceptions will cause +The global exception mapping node tells the Struts framework what to do if an uncaught exception of the type specified +(or a child of that type) is thrown by the application. For example if a SecurityBreachException is thrown but +not caught, the Struts 2 Action class will return a result of securityerror. All other uncaught exceptions will cause the Struts 2 Action class to return a result of “error”. -The global results mapping node relates the result value to a specific view page. For example the result “securityerror” -will cause the framework to redirect the user’s br

(struts-site) branch main updated: Updates docs around exception handling (#271)

2025-06-08 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/main by this push:
 new ace2d29d1 Updates docs around exception handling (#271)
ace2d29d1 is described below

commit ace2d29d1986369965a6ffd6f3d29f81de44428e
Author: Lukasz Lenart 
AuthorDate: Sun Jun 8 20:19:44 2025 +0200

Updates docs around exception handling (#271)
---
 source/core-developers/exception-configuration.md | 22 +-
 source/getting-started/exception-handling.md  | 10 +-
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/source/core-developers/exception-configuration.md 
b/source/core-developers/exception-configuration.md
index 913284108..d22b1150e 100644
--- a/source/core-developers/exception-configuration.md
+++ b/source/core-developers/exception-configuration.md
@@ -7,6 +7,10 @@ parent:
 ---
 
 # Exception Configuration
+{:.no_toc}
+
+* Will be replaced with the ToC, excluding a header
+{:toc}
 
 Exception mappings is a powerful feature for dealing with an Action class that 
throws an Exception. The core idea is 
 that an Exception thrown during the Action method can be automatically caught 
and mapped to a predefined Result. This 
@@ -15,7 +19,7 @@ declarative strategy is especially useful for frameworks, 
like Hibernate and Ace
 As with many other parts of the framework, an Interceptor is needed to 
activate the exception mapping functionality. 
 Below is a snippet from `struts-default.xml` which has the exception mapping 
already activated.
 
-**snippet of struts-default.xml**
+### Snippet of struts-default.xml
 
 ```xml
 ...
@@ -65,7 +69,7 @@ by the Action.
 
 Below is an example of global and local exception mappings.
 
-**snippet from struts.xml**
+### Snippet from struts.xml
 
 ```xml
 
@@ -100,12 +104,12 @@ In the example above, here is what happens based upon 
each Exception:
 ## Exception Values on the ValueStack
 
 By default, the `ExceptionMappingInterceptor` adds the following values to the 
Value Stack:
+- `exception` the exception object
+- `exceptionStack` details of the exception
 
-| exception | The exception object itself |
-|---|-|
-| exceptionStack | The value from the stack trace |
+Please also check [Exception Handling](../getting-started/exception-handling) 
in the Getting Started guide. See 
[ExceptionHolder](https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/interceptor/ExceptionHolder.java)
 for more details.
 
-**Sample JSP using Error and Exception Values**
+### Sample JSP using Error and Exception Values
 
 ```jsp 
 An unexpected error has occurred
@@ -118,16 +122,16 @@ By default, the `ExceptionMappingInterceptor` adds the 
following values to the V
 Error Message
 
 
-
+
 
 
 Technical Details
 
-
+
 
 ```
 
 ## Exception in constructors
 
-Global exception mappings are designed to be used with exceptions thrown by 
action methods (like `execute`). exceptions 
+Global exception mappings are designed to be used with exceptions thrown by 
action methods (like `execute`). Exceptions 
 thrown from constructors will **not** be handled by global exception mappings.
diff --git a/source/getting-started/exception-handling.md 
b/source/getting-started/exception-handling.md
index a8b680d34..ea9a13cec 100644
--- a/source/getting-started/exception-handling.md
+++ b/source/getting-started/exception-handling.md
@@ -45,13 +45,13 @@ and `global-results`. For example examine the `struts.xml` 
from the exception-ha
 
 ```
 
-The global exception mapping node tells the Struts 2 framework what to do if 
an uncaught exception of the type specified 
-(or a child of that type) is thrown by the the application. For example if a 
SecurityBreachException is thrown but 
-not caught, the Struts 2 Action class will return a result of "securityerror". 
All other uncaught exceptions will cause 
+The global exception mapping node tells the Struts framework what to do if an 
uncaught exception of the type specified 
+(or a child of that type) is thrown by the application. For example if a 
SecurityBreachException is thrown but 
+not caught, the Struts 2 Action class will return a result of `securityerror`. 
All other uncaught exceptions will cause 
 the Struts 2 Action class to return a result of "error".
 
-The global results mapping node relates the result value to a specific view 
page. For example the result "securityerror"
-will cause the framework to redirect the user's browser to the 
securityerror.jsp view page.
+The global results mapping node relates the result value to a specific view 
page. For example the result `securityerror`
+will cause the framework to redirect the user's browser to the 
`securityerror.jsp` view page.
 
 ## Exception Handling Per Action
 



(struts-site) branch asf-site updated: Automatic Site Publish by Buildbot

2025-06-08 Thread git-site-role
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 b710c6637 Automatic Site Publish by Buildbot
b710c6637 is described below

commit b710c66379e3a2f7bd603debc7e45146a615606c
Author: buildbot 
AuthorDate: Sun Jun 8 18:20:22 2025 +

Automatic Site Publish by Buildbot
---
 .../core-developers/exception-configuration.html   | 45 +++---
 output/getting-started/exception-handling.html | 10 ++---
 2 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/output/core-developers/exception-configuration.html 
b/output/core-developers/exception-configuration.html
index 2df1a73b4..730e812c6 100644
--- a/output/core-developers/exception-configuration.html
+++ b/output/core-developers/exception-configuration.html
@@ -151,7 +151,17 @@
 
 << back to Core 
Developers
 
-Exception Configuration
+Exception 
Configuration
+
+
+  Snippet of 
struts-default.xml
+  Snippet from struts.xml
+  Exception Values on the 
ValueStack
+  Sample JSP using 
Error and Exception Values
+
+  
+  Exception in constructors
+
 
 Exception mappings is a powerful feature for dealing with an Action class 
that throws an Exception. The core idea is 
 that an Exception thrown during the Action method can be automatically caught 
and mapped to a predefined Result. This 
@@ -160,7 +170,7 @@ declarative strategy is especially useful for frameworks, 
like Hibernate and Ace
 As with many other parts of the framework, an Interceptor is needed to 
activate the exception mapping functionality. 
 Below is a snippet from struts-default.xml which has the exception mapping 
already activated.
 
-snippet of struts-default.xml
+Snippet of struts-default.xml
 
 ...
 
@@ -211,7 +221,7 @@ action mapping, and if not found, it looks for a global 
Result.
 
 Below is an example of global and local exception mappings.
 
-snippet from struts.xml
+Snippet from struts.xml
 
 
 
@@ -247,23 +257,14 @@ action mapping, and if not found, it looks for a global 
Result.
 Exception Values on the 
ValueStack
 
 By default, the ExceptionMappingInterceptor adds the following values 
to the Value Stack:
+
+  exception the 
exception object
+  exceptionStack 
details of the exception
+
+
+Please also check Exception 
Handling in the Getting Started guide. See https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/interceptor/ExceptionHolder.java";>ExceptionHolder
 for more details.
 
-
-  
-
-  exception
-  The exception object itself
-
-  
-  
-
-  exceptionStack
-  The value from the stack trace
-
-  
-
-
-Sample JSP using Error and Exception Values
+Sample JSP using Error 
and Exception Values
 
 

An unexpected error has occurred

@@ -275,18 +276,18 @@ action mapping, and if not found, it looks for a global Result.

Error Message

- +


Technical Details

- +

Exception in constructors -Global exception mappings are designed to be used with exceptions thrown by action methods (like execute). exceptions +Global exception mappings are designed to be used with exceptions thrown by action methods (like execute). Exceptions thrown from constructors will not be handled by global exception mappings. diff --git a/output/getting-started/exception-handling.html b/output/getting-started/exception-handling.html index e679abe5c..1b44d4ffb 100644 --- a/output/getting-started/exception-handling.html +++ b/output/getting-started/exception-handling.html @@ -194,13 +194,13 @@ and global-results. Fo -The global exception mapping node tells the Struts 2 framework what to do if an uncaught exception of the type specified -(or a child of that type) is thrown by the the application. For example if a SecurityBreachException is thrown but -not caught, the Struts 2 Action class will return a result of “securityerror”. All other uncaught exceptions will cause +The global exception mapping node tells the Struts framework what to do if an uncaught exception of the type specified +(or a child of that type) is thrown by the application. For example if a SecurityBreachException is thrown but +not caught, the Struts 2 Action class will return a result of securityerror. All other uncaught exceptions will cause the Struts 2 Action class to return a result of “error”. -The global results mapping node relates the result value to a specific view page. For example the result “securityerror” -will cause the framework to redirect the us

(struts-site) branch fix/exception-handling deleted (was 0c83718a8)

2025-06-08 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch fix/exception-handling
in repository https://gitbox.apache.org/repos/asf/struts-site.git


 was 0c83718a8 Updates docs around exception handling

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.