File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes config redirect url jsf domain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "config redirect url jsf domain" Watch "config redirect url jsf domain" New topic

config redirect url jsf domain

Doan Long

Joined: Jul 26, 2012
Posts: 20
config change url http://domain/app/login.jsf to http://domain/login.jsf
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Complete sentences. Less confuse.

You need a proxy to do that. Because J2EE permits more than one webapp to be contained in a single server, the next level of the URL must tell which webapp to send the URL to. This is known as the application context There is a root context, which can handle URLs in the form http://server:port/pageurl, but that is not redirection and for many servers, there is already a default application located at the root context URL that must be removed before you can deploy your own application there.

Also, standard warning: user-login == hacked.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: config redirect url jsf domain
It's not a secret anymore!