Skip to content

Latest commit

 

History

History
65 lines (35 loc) · 1.03 KB

context-root-redirect-582d405.md

File metadata and controls

65 lines (35 loc) · 1.03 KB

Context Root Redirect

SAP Java Buildpack provides a context root redirect functionality.

When you call a Web application without adding its runtime context path to the URL, it's automatically appended.

If you configure /my_context_path as a context path, and the Web application is available on /my_app, then:

When you call:

You'll be redirected to:

<HOST>:<PORT>/my_app
<HOST>:<PORT>/my_context_path/my_app

The default context path value for Tomcat and TomEE is "" (empty string).

For more information on how to change the default value, see: