Is it possible to prevent JBoss from adding a trailing '/' for a context?

Solution Verified - Updated -

Issue

  • Is it possible to prevent JBoss from adding a trailing '/' for a context?
  • When a request comes in without a trailing '/' this should not be automatically added. At present JBoss automatically rewrites these such as the below:
FROM:
http://localhost:8080/context

TO:
http://localhost:8080/context/

Environment

  • Red Hat JBoss Enterprise Application Platform 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content