aspose file tools*
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
Don't get me started about those stupid light bulbs.
subject: how to get rid of /faces/
Similar Threads
problem with using URIs as parameters
American idol results: sad and suprised
Problem accessing Oracle database through JDBC using JSP
Error while running the Controller Servlet