Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

config redirect url jsf domain

 
Doan Long
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
config change url http://domain/app/login.jsf to http://domain/login.jsf
app.war
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic