This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes how to get rid of /faces/ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSF
Bookmark "how to get rid of /faces/" Watch "how to get rid of /faces/" New topic

how to get rid of /faces/

baran tamer
Ranch Hand

Joined: Jan 22, 2009
Posts: 33


my default page address is above , but i dont want to use the /faces/.
Can i get rid of it ,so url will show as below?

Amir Iqbal
Ranch Hand

Joined: Jun 23, 2007
Posts: 97
i think you should check URL MAPPINGS in web.xml of your project.....

i am Java +ve Now !
yigit darcin

Joined: Jan 08, 2008
Posts: 15
if you define your Faces servlet as

<servlet-name>Faces Servlet</servlet-name>

then you can access your pages like : http://localhost:8181/baran/default.jsf
baran tamer
Ranch Hand

Joined: Jan 22, 2009
Posts: 33
thanks a lot
GeeCON Prague 2014
subject: how to get rid of /faces/