This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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

Win a copy of Building Microservices this week in the Design forum!
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
Have you checked out Aspose?
subject: how to get rid of /faces/
It's not a secret anymore!