Skip to content

Commit

Permalink
enh(jakarta-ee): added docs for system properties for resubmit config
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak committed Jan 11, 2024
1 parent 89a6353 commit 0960421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/site/content/jakarta-ee.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ During form resubmissions, the original request is replayed, and the response is
<param-value>false</param-value>
</context-param>
----
By default, form resubmission logic replays the request to the original URI. This works for most cases, but in some deployments, such as certain Docker or Kubernetes, host, port or both need to be modified during resubmission. There are two system properties to allow this: `org.apache.shiro.form-resubmit-host` (String) and `org.apache.shiro.form-resubmit-port` (Integer).

==== Configuring for Tomcat / Jetty (or without Jakarta Faces)
If Jakarta Faces (JSF) is not available in your environment, you need to put the following into your `web.xml` to enable proper OmniFaces initialization:
Expand Down

0 comments on commit 0960421

Please sign in to comment.