Skip to content

Commit 6e28759

Browse files
committed
Update the tinystruct framework to 1.7.11.
1 parent 10113a7 commit 6e28759

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bin/dispatcher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ***************************************************************************
1818

1919
ROOT="$(pwd)"
20-
VERSION="1.7.10"
20+
VERSION="1.7.11"
2121
cd "$(dirname "$0")" || exit
2222
cd "../"
2323
# Navigate to the root directory

bin/dispatcher.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
set "MAVEN_REPO=%USERPROFILE%\.m2\repository\org\tinystruct\tinystruct"
2020
@REM Consolidate classpath entries, initialize ROOT and VERSION
2121
set "ROOT=%~dp0.."
22-
set "VERSION=1.7.10"
22+
set "VERSION=1.7.11"
2323

2424
@REM Define the paths for tinystruct jars in the Maven repository
2525
set "DEFAULT_JAR_FILE=%MAVEN_REPO%\%VERSION%\tinystruct-%VERSION%.jar"

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<name>tomcat server module</name>
77
<groupId>org.tinystruct</groupId>
88
<artifactId>tinystruct-tomcat-server</artifactId>
9-
<version>1.0.3</version>
9+
<version>1.0.4</version>
1010
<description>A tinystruct-based module to enable tomcat server support.</description>
1111
<url>https://tinystruct.org</url>
1212
<licenses>
@@ -32,7 +32,7 @@
3232
<maven.compiler.target>17</maven.compiler.target>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3434
<tomcat.embed.version>11.0.13</tomcat.embed.version>
35-
<tinystruct.version>1.7.10</tinystruct.version>
35+
<tinystruct.version>1.7.11</tinystruct.version>
3636
<jupiter.version>6.0.1</jupiter.version>
3737
</properties>
3838
<dependencies>

src/main/java/org/tinystruct/system/TomcatServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private void initWebappDefaults(Context ctx) {
188188
public void stop() {
189189
}
190190

191-
@Action(value = "error", description = "Error page")
191+
@Action(value = "error", description = "Error page", mode = Action.Mode.HTTP_GET)
192192
public Object exceptionCaught() throws ApplicationException {
193193
Request request = (Request) getContext().getAttribute(HTTP_REQUEST);
194194
Response response = (Response) getContext().getAttribute(HTTP_RESPONSE);

0 commit comments

Comments
 (0)