wood burning stoves*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "config redirect url jsf domain" Watch "config redirect url jsf domain" New topic
Author

config redirect url jsf domain

Doan Long
Greenhorn

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

Joined: Jun 25, 2001
Posts: 16158
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: config redirect url jsf domain