Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WildFly: New Features
  • Table Of Contents Toc
WildFly: New Features

WildFly: New Features

By : Filippe C Spolti
5 (3)
close
close
WildFly: New Features

WildFly: New Features

5 (3)
By: Filippe C Spolti

Overview of this book

Table of Contents (13 chapters)
close
close
WildFly: New Features
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Index

Changing the application context root


The context root or URI is a simple way to keep a friendly name for our applications when calls are made via the browser. When WildFly does a deployment, it checks if this setting is enabled in the application and then interprets the configuration, registering the application with the context root configured. It is very useful when you have a versioned application. In order to keep the version in the filename for easier understanding and standardization, the application gets a very long name. For example, if an application had the name intranet-0.0.1-Final and did not have the context root configured, the application should be called using the entire file name; however, we want the application be called only with a much simpler context root (for example, /intranet/).

Now we will see how to configure the context root of the application.

To perform this configuration it is necessary to create a new file within the application's WEB-INF folder; this is the...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WildFly: New Features
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon