Herzog
Herzog

Reputation: 953

Hide JSF 2 URL after the application name

I need to deploy my JSF2 application in Tomcat 7 with two simple urls, like this:

www.rdauctions.com and www.rdauctions.com/backoffice

(The first is for the public application and the second for the admin app.)

I want nothing else to show in the URL. Is that possible?

Upvotes: 2

Views: 1752

Answers (1)

Arjan Tijms
Arjan Tijms

Reputation: 38163

You can do something like this with a servlet filter and a JSF view handler, but the simplest solution is probably to just use PrettyFaces.

Upvotes: 3

Related Questions