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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.